Page 1 of 1

NoClassDef bungee? but Im using Bukkit!

Posted: April 29th, 2017, 7:45 am
by eve0021
Hey guys,
anyone caught this same error?

Code: Select all

[22:15:57 ERROR]: Error occurred while enabling Denizen v1.0.1-SNAPSHOT (build 1630) (Is it up to date?)
java.lang.NoClassDefFoundError: net/md_5/bungee/api/chat/BaseComponent
        at net.aufdemrand.denizen.nms.Handler_v1_11_R1.<init>(Handler_v1_11_R1.java:45) ~[?:?]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_67]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.7.0_67]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.7.0_67]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.7.0_67]
        at java.lang.Class.newInstance(Unknown Source) ~[?:1.7.0_67]
        at net.aufdemrand.denizen.nms.NMSHandler.initialize(NMSHandler.java:44) ~[?:?]
        at net.aufdemrand.denizen.Denizen.onEnable(Denizen.java:369) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:329) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:361) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:323) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.reload(CraftServer.java:729) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.Bukkit.reload(Bukkit.java:549) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:629) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1294) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1154) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(SourceFile:37) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(SourceFile:9) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_67]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_67]
        at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:695) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:360) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:650) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:554) [craftbukkit.jar:git-Bukkit-1f6c04c]
        at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]
Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.chat.BaseComponent
        at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_67]
        at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_67]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_67]
        at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_67]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit.jar:git-Bukkit-1f6c04c]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-1f6c04c]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_67]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_67]
        ... 31 more
Im using bukkit 1.11.2 and got both Vault and Citizens2. so whats the deal? why is Denizen looking for bungee in Bukkit?

Re: NoClassDef bungee? but Im using Bukkit!

Posted: April 29th, 2017, 8:00 pm
by mcmonkey
"Bukkit" isn't even an option to use. Bukkit is a development tool!

You're probably using CraftBukkit.

You need to be using Spigot.

Spigot is a variant of CraftBukkit that includes helpful things, better speeds, and some poorly labeled classes like the "Bungee" one you see there.

It's actually impossible to legally acquire a copy of CraftBukkit without also receiving Spigot, thanks to the fact that CraftBukkit is now a product released by the Spigot team. (The Bukkit team is gone!)