CraftBook 3

CraftBook 3

139k Downloads

CraftBook can't load chairs mechanic MC1.12.2 / Spigot

LadyCailinBot opened this issue ยท 1 comments

commented

CRAFTBOOK-3352 - Reported by X00LA

Minecraft Version 1.12.2
Spigot Version: This server is running CraftBukkit version git-Spigot-9b8bba4-bdcc7c7 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
CraftBook Version: CraftBook version 3.9-SNAPSHOT-jenkins-CraftBook-206

When I start my server i get the followeing error message:

[CraftBook] Failed to load mechanic: Chairs
java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener
at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_152]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:1.8.0_152]
at java.lang.Class.getConstructor0(Class.java:3075) ~[?:1.8.0_152]
at java.lang.Class.newInstance(Class.java:412) ~[?:1.8.0_152]
at com.sk89q.craftbook.bukkit.CraftBookPlugin.setupCraftBook(CraftBookPlugin.java:561) [craftbook-3.9-SNAPSHOT.jar:3.9-SNAPSHOT]
at com.sk89q.craftbook.bukkit.CraftBookPlugin.onEnable(CraftBookPlugin.java:451) [craftbook-3.9-SNAPSHOT.jar:3.9-SNAPSHOT]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
Caused by: java.lang.ClassNotFoundException: com.comphenix.protocol.events.PacketListener
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_152]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:152) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_152]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_152]
... 17 more

Hope this could be fixed in the next version.
If you need more Informations please ask, I'm always happy to help.

Regards

commented

Comment by X00LA

UPDATE!

FIXED! After a couple of tries I found out, that my anti virus blocked ProtocolLib. I don't know why, but I added it to the whitelist and now it works fine. Could not find out why my AV did this. There's nothing in the logs and no alert came up. That's a bit weird. The important thing is, that now it's up and running.

Sorry for this false alert!