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)]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via bukkit.org by Unknown author, 1 year ago
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)]
via Google Groups by philip...@gmail.com, 6 months ago
Error: Error executing stmt[create table test_bean (id integer not null auto_increment,constraint pk_test_bean primary key (id))] error[Syntax error: Encountered "auto_increment" at line 1, column 68.]
via GitHub by gladionpvp
, 1 year ago
Error: Error executing stmt[create table IF NOT EXISTS player_stats ( id integer AUTOINCREMENT primary key, uuid varchar(40), playername varchar(16) not null, kills
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.(PrepStmt.java:42)
at org.sqlite.Conn.prepareStatement(Conn.java:404)
at org.sqlite.Conn.prepareStatement(Conn.java:399)
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)
at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runStatements(DdlGenerator.java:246)
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 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)

Users with the same issue

36 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.