java.lang.NoClassDefFoundError

Discussion in 'General Help' started by Elimnator, Oct 29, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Elimnator

    My plugin is getting an error with the spigot build for 1.8, anyone know how to fix this:

    Code:
    [10:06:18 ERROR]: Could not load 'plugins/AdvancedGenetics.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R2/NBTBase
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot_1.7.9.jar:git-Spigot-1542]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot_1.7.9.jar:git-Spigot-1542]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot_1.7.9.jar:git-Spigot-1542]
        at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:369) [spigot_1.7.9.jar:git-Spigot-1542]
        at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:136) [spigot_1.7.9.jar:git-Spigot-1542]
        at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:458) [spigot_1.7.9.jar:git-Spigot-1542]
        at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot_1.7.9.jar:git-Spigot-1542]
    Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R2/NBTBase
        at java.lang.Class.forName0(Native Method) ~[?:1.7.0_72]
        at java.lang.Class.forName(Class.java:274) ~[?:1.7.0_72]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[spigot_1.7.9.jar:git-Spigot-1542]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot_1.7.9.jar:git-Spigot-1542]
        ... 6 more
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R2.NBTBase
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) ~[spigot_1.7.9.jar:git-Spigot-1542]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[spigot_1.7.9.jar:git-Spigot-1542]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_72]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_72]
        at java.lang.Class.forName0(Native Method) ~[?:1.7.0_72]
        at java.lang.Class.forName(Class.java:274) ~[?:1.7.0_72]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[spigot_1.7.9.jar:git-Spigot-1542]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot_1.7.9.jar:git-Spigot-1542]
        ... 6 more
    
     
  2. Offline

    ZeldoKavira Administrator Curse

    Moved to the alternatives subforum.
     
  3. Offline

    Elimnator

    ZeldoKavira
    I got my Craft Bukkit and my Bukkit builds from here, before they were taken down.
     
  4. Offline

    ZeldoKavira Administrator Curse


    From the log you posted: [spigot_1.7.9.jar:git-Spigot-1542]
     
  5. Offline

    Elimnator

    OK, yah. I thought you were talking about the builds I compiled with.
     
Thread Status:
Not open for further replies.

Share This Page