Closed MiniDigger closed 9 years ago
Ah it ended you in craftbukkits lib folder: org.bukkit.craftbukkit.libs.com.google.gson I will submit a pull request soon ;D
Well, I though I only have to change the imports, but thats not the case... I don't get why it's trying to search for the minecraft util but not the craftbukkit one. Heres another stacktrace:
java.lang.NoClassDefFoundError: net/minecraft/util/com/google/gson/Gson
at mkremins.fanciful.FancyMessage.createChatPacket(FancyMessage.java:568) ~[?:?]
at mkremins.fanciful.FancyMessage.send(FancyMessage.java:549) ~[?:?]
at mkremins.fanciful.FancyMessage.send(FancyMessage.java:537) ~[?:?]
at me.MiniDigger.CraftCore.Util.CoreCommonMethods$2.run(CoreCommonMethods.java:132) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-320c787]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-320c787]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:695) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-320c787]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-320c787]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:625) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-320c787]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:528) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-320c787]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_20]
Caused by: java.lang.ClassNotFoundException: net.minecraft.util.com.google.gson.Gson
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-320c787]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-320c787]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_20]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_20]
... 11 more
Make sure you're building against the new spigot builds ;\
I am
Should be handled by #50, but I can't currently deploy Fanciful version 0.2.1-SNAPSHOT
myself (see #51). Going to close this issue for now anyway, since the deploy issue isn't strictly related and this is a dupe of #49 (which was already auto-closed when I merged #50).
This this not compatible with the with spigot 1.8 since they moved Gson around (or removed it?)
I am getting an NoClassDefFoundError:
I'll search around where it was moved too ;D