Last build does not work?
LadyCailinBot opened this issue ยท 8 comments
CRAFTBOOK-3247 - Reported by Damienr0xfr
Hi, I've got this issue with latest build of Craftbook. The plugin can't be enabled, I hope it's not my fault :D !
Thanks for helping ^^
Here are logs:
[17:19:43] [Server thread/INFO]: [CraftBook] Loading persistent data from YAML!
[17:19:43] [Server thread/ERROR]: Error occurred while enabling CraftBook v3.9-SNAPSHOT (Is it up to date?)
java.lang.NoClassDefFoundError: org/sqlite/NativeDB
at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[?:1.8.0_111]
at java.lang.Runtime.load0(Runtime.java:809) ~[?:1.8.0_111]
at java.lang.System.load(System.java:1086) ~[?:1.8.0_111]
at org.sqlite.SQLiteJDBCLoader.loadNativeLibrary(SQLiteJDBCLoader.java:268) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:304) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.SQLiteJDBCLoader.initialize(SQLiteJDBCLoader.java:64) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.core.NativeDB.load(NativeDB.java:56) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.core.CoreConnection.open(CoreConnection.java:211) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.core.CoreConnection.(CoreConnection.java:76) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.jdbc3.JDBC3Connection.(JDBC3Connection.java:24) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.jdbc4.JDBC4Connection.(JDBC4Connection.java:24) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.SQLiteConnection.(SQLiteConnection.java:45) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.JDBC.createConnection(JDBC.java:114) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.sqlite.JDBC.connect(JDBC.java:88) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_111]
at java.sql.DriverManager.getConnection(DriverManager.java:270) ~[?:1.8.0_111]
at com.sk89q.craftbook.util.UUIDMappings.createConnection(UUIDMappings.java:19) ~[?:?]
at com.sk89q.craftbook.util.UUIDMappings.enable(UUIDMappings.java:13) ~[?:?]
at com.sk89q.craftbook.bukkit.CraftBookPlugin.onEnable(CraftBookPlugin.java:319) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:375) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:325) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:419) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:380) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:335) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:542) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: java.lang.ClassNotFoundException: org.sqlite.NativeDB
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_111]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_111]
... 32 more
Comment by me4502
This means either your system is incapable of running SQLite (Eg, ARM device)
Another possibility is that a plugin is providing a broken copy of SQLite, which would be an issue with that plugin and should break anything else that uses databases. I know LWC did this in the past.
Comment by wizjany
lwc does this and has been causing lots of issues with 1.11 since it conflicts with spigot's updated sqlite.
Comment by Damienr0xfr
Do you know how can I make it works? I have to install SQLite on Linux installation or modify something in MC server config?
Comment by me4502
I found a guide on how to fix it, https://www.spigotmc.org/threads/lwc.37440/page-7#post-2033483
Comment by Damienr0xfr
@me4502 Yes I use LWC but I've updated it also :s, I check your guide, thank you very much :D !
Comment by Damienr0xfr
Okay, LWC was the problem ahah, it makes WorldGuard, Craft and itself work... thank you very much @me4502 :D !
I removed "lib" folder and everything was working... :)