javax.persistence.PersistenceException

Error: Error executing stmt[create table DispNameChanger.DispNameChanger ( id integer primary key, player_name varchar(255), display_name varchar(255)) ] error[[SQLITE_ERROR] SQL error or missing database (unknown database DispNameChanger)]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web107

  • via Unknown by Unknown author,
  • via GitHub by brunyman
    ,
  • via GitHub by Orhideous
    ,
  • Stack trace

    • javax.persistence.PersistenceException: Error: Error executing stmt[create table DispNameChanger.DispNameChanger ( id integer primary key, player_name varchar(255), display_name varchar(255)) ] error[[SQLITE_ERROR] SQL error or missing database (unknown database DispNameChanger)] at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runScript(DdlGenerator.java:233) at org.bukkit.plugin.java.JavaPlugin.installDDL(JavaPlugin.java:253) at me.captain.DispNameChanger.DispNameChanger.setupDatabase(DispNameChanger.java:44) at me.captain.DispNameChanger.DispNameChanger.onEnable(DispNameChanger.java:74) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259) at net.minecraft.server.ThreadServerApplication.run(SourceFile:394) Caused by: java.lang.RuntimeException: Error executing stmt[create table DispNameChanger.DispNameChanger ( id integer primary key, player_name varchar(255), display_name varchar(255)) ] error[[SQLITE_ERROR] SQL error or missing database (unknown database DispNameChanger)] at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runStatement(DdlGenerator.java:281) at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runStatements(DdlGenerator.java:246) at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runScript(DdlGenerator.java:224) ... 13 more Caused by: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (unknown database DispNameChanger) at org.sqlite.DB.newSQLException(DB.java:383) at org.sqlite.DB.newSQLException(DB.java:387) at org.sqlite.DB.throwex(DB.java:374) at org.sqlite.NativeDB.prepare(Native Method) at org.sqlite.DB.prepare(DB.java:123) at org.sqlite.PrepStmt.<init>(PrepStmt.java:42) at org.sqlite.Conn.prepareStatement(Conn.java:404) at org.sqlite.Conn.prepareStatement(Conn.java:399) at org.sqlite.Conn.prepareStatement(Conn.java:383) at com.avaje.ebeaninternal.server.lib.sql.PooledConnection.prepareStatement(PooledConnection.java:426) at com.avaje.ebeaninternal.server.lib.sql.PooledConnection.prepareStatement(PooledConnection.java:396) at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runStatement(DdlGenerator.java:271) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    linxiaolonglinxiaolong
    36 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,