RecipeManager

RecipeManager

130k Downloads

NoClassDefFoundError on Paper 1.19.4

afoxxvi opened this issue ยท 0 comments

commented

Hello, this issue appears in v2.31.0, but not in v.2.30.0

[20:15:42] [Server thread/WARN]: [RecipeManager] Task #2960765 for RecipeManager v2.31.0 generated an exception
java.lang.NoClassDefFoundError: org/bukkit/inventory/ItemRarity
	at haveric.recipeManager.flag.flags.any.FlagHoldItem.getDescription(FlagHoldItem.java:160) ~[RecipeManager.jar:?]
	at haveric.recipeManager.flag.FlagDescriptor.getDescription(FlagDescriptor.java:81) ~[RecipeManager.jar:?]
	at haveric.recipeManager.Files.createRecipeFlags(Files.java:295) ~[RecipeManager.jar:?]
	at haveric.recipeManager.Files.<init>(Files.java:95) ~[RecipeManager.jar:?]
	at haveric.recipeManager.Files.reload(Files.java:77) ~[RecipeManager.jar:?]
	at haveric.recipeManager.RecipeManager.reload(RecipeManager.java:218) ~[RecipeManager.jar:?]
	at haveric.recipeManager.RecipeManager.onEnablePost(RecipeManager.java:134) ~[RecipeManager.jar:?]
	at haveric.recipeManager.RecipeManager.access$000(RecipeManager.java:53) ~[RecipeManager.jar:?]
	at haveric.recipeManager.RecipeManager$1.run(RecipeManager.java:109) ~[RecipeManager.jar:?]
	at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.4.jar:git-Paper-550]
	at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.4.jar:git-Paper-550]
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1483) ~[paper-1.19.4.jar:git-Paper-550]
	at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.19.4.jar:git-Paper-550]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.4.jar:git-Paper-550]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1174) ~[paper-1.19.4.jar:git-Paper-550]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-550]
	at java.lang.Thread.run(Thread.java:842) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.bukkit.inventory.ItemRarity
	at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:183) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	... 17 more

ItemRarity class is at io.papermc.paper.inventory.ItemRarity in paper 1.19.4