Skip to content

Instantly share code, notes, and snippets.

@libraryaddict
Created June 14, 2021 23:12
Show Gist options
  • Save libraryaddict/559996aa1a329663b8b88de4c02a4f90 to your computer and use it in GitHub Desktop.
Save libraryaddict/559996aa1a329663b8b88de4c02a4f90 to your computer and use it in GitHub Desktop.
java.lang.NoClassDefFoundError: net/minecraft/world/item/ItemStack
at com.comphenix.protocol.reflect.instances.DefaultInstances.lambda$static$0(DefaultInstances.java:53) ~[?:?]
at com.comphenix.protocol.reflect.instances.DefaultInstances.getDefaultInternal(DefaultInstances.java:288) ~[?:?]
at com.comphenix.protocol.reflect.instances.DefaultInstances.getDefault(DefaultInstances.java:195) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.generateDefaultFields(StructureModifier.java:698) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.<init>(StructureModifier.java:123) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.<init>(StructureModifier.java:111) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.<init>(StructureModifier.java:92) ~[?:?]
at com.comphenix.protocol.wrappers.WrappedWatchableObject.<init>(WrappedWatchableObject.java:54) ~[?:?]
at com.comphenix.protocol.wrappers.WrappedDataWatcher$1.toOuter(WrappedDataWatcher.java:170) ~[?:?]
at com.comphenix.protocol.wrappers.WrappedDataWatcher$1.toOuter(WrappedDataWatcher.java:167) ~[?:?]
at com.comphenix.protocol.wrappers.collection.ConvertedMap.toOuter(ConvertedMap.java:92) ~[?:?]
at com.comphenix.protocol.wrappers.collection.ConvertedMap$2.apply(ConvertedMap.java:54) ~[?:?]
at com.comphenix.protocol.wrappers.collection.ConvertedMap$4$2.getValue(ConvertedMap.java:235) ~[?:?]
at com.comphenix.protocol.wrappers.collection.ConvertedMap$3.apply(ConvertedMap.java:149) ~[?:?]
at com.comphenix.protocol.wrappers.collection.ConvertedMap$3.apply(ConvertedMap.java:146) ~[?:?]
at com.google.common.collect.Iterators$7.transform(Iterators.java:750) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at java.util.AbstractCollection.toArray(AbstractCollection.java:146) ~[?:?]
at java.util.ArrayList.<init>(ArrayList.java:181) ~[?:?]
at com.comphenix.protocol.wrappers.WrappedDataWatcher.getWatchableObjects(WrappedDataWatcher.java:193) ~[?:?]
at me.libraryaddict.disguise.utilities.reflection.ReflectionManager.createNMSValues(ReflectionManager.java:1873) ~[?:?]
at me.libraryaddict.disguise.utilities.reflection.ReflectionManager.registerValues(ReflectionManager.java:1726) ~[?:?]
at me.libraryaddict.disguise.LibsDisguises.onEnable(LibsDisguises.java:213) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: net.minecraft.world.item.ItemStack
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:105) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at java.lang.ClassLoader.loadClass(ClassLoader.java:586) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
... 34 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment