Solved [Error] Many errors

Discussion in 'Spigot Plugin Help' started by ArcticCoder, Jul 10, 2018.

  1. https://pastebin.com/Qmnjrcpc

    I get spammed with errors. It's hard to list them all so just look at the pastebin.

    Spigot 1.12.2 | Minecraft 1.12.2

    Edit Solved: It was a plugin jar named WGRegion something. Thanks for identifying some other problems too.
     
    #1 ArcticCoder, Jul 10, 2018
    Last edited: Jul 11, 2018
  2. ssamjh

    Moderator

    I think your spigot may have not compiled correctly. Try building a new one with buildtools.
     
  3. I've tried building the BuildTools several times, every time waiting for the Git Bash to finish completely. It doesn't fix it.
     
  4. foncused

    Moderator Patron

    Code (Text):
    [15:19:56] [Server thread/ERROR]: Error occurred while enabling LWC v4.5.0-SNAPSHOT (Is it up to date?)
    java.lang.NoClassDefFoundError: org/sqlite/NativeDB
    ...
        at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.JDBC.createConnection(JDBC.java:114) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.JDBC.connect(JDBC.java:88) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at com.griefcraft.sql.Database.connect(Database.java:250) ~[?:?]
        at com.griefcraft.lwc.LWC.load(LWC.java:1503) ~[?:?]
        at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:203) ~[?:?]
    Looks like a problem with LWC trying to use or connect to SQLite (could be conflicting between the version bundled in Spigot and the version the plugin is using). I did find this which might be of some help.
     
  5. I removed the ip I had put in there but there is still an error.
    Code (Text):
    [18:00:17] [Server thread/ERROR]: Error occurred while enabling LWC v4.5.0-SNAPSHOT (Is it up to date?)
    java.lang.NoClassDefFoundError: org/sqlite/NativeDB
        at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[?:?]
        at java.lang.ClassLoader.loadLibrary0(Unknown Source) ~[?:?]
        at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:?]
        at java.lang.Runtime.load0(Unknown Source) ~[?:?]
        at java.lang.System.load(Unknown Source) ~[?:?]
        at org.sqlite.SQLiteJDBCLoader.loadNativeLibrary(SQLiteJDBCLoader.java:272) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:308) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.SQLiteJDBCLoader.initialize(SQLiteJDBCLoader.java:64) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.core.NativeDB.load(NativeDB.java:56) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.core.CoreConnection.open(CoreConnection.java:211) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:76) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:25) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:24) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.JDBC.createConnection(JDBC.java:114) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.sqlite.JDBC.connect(JDBC.java:88) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at com.griefcraft.sql.Database.connect(Database.java:250) ~[?:?]
        at com.griefcraft.lwc.LWC.load(LWC.java:1503) ~[?:?]
        at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:203) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:206) [spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot-1.12.2.jar:git-Spigot-642f6d2-ab13683]
        at java.lang.Thread.run(Unknown Source) [?:?]
    Caused by: java.lang.ClassNotFoundException: org.sqlite.NativeDB
        at jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) ~[?:?]
        at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) ~[?:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
        ... 27 more
    Edit: This also happens with CoreProtect.The solution for the LWC does not work as there was no text to move in the file.
     
    #5 ArcticCoder, Jul 11, 2018
    Last edited: Jul 11, 2018