WesJD / AnvilGUI

Capture user input in Minecraft through an anvil GUI in under 20 lines of code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error how to fix

TheRedEnd2000 opened this issue · comments

Caused by: java.lang.NoClassDefFoundError: net/wesjd/anvilgui/AnvilGUI$Builder
at de.theredend2000.duels.inventorys.kitMenus.KitListMenu.handleMenu(KitListMenu.java:80) ~[?:?]
at de.theredend2000.duels.listeners.InventoryClickListener.onClickInventory(InventoryClickListener.java:41) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
... 20 more
Caused by: java.lang.ClassNotFoundException: net.wesjd.anvilgui.AnvilGUI$Builder
at de.theredend2000.duels.inventorys.kitMenus.KitListMenu.handleMenu(KitListMenu.java:80) ~[?:?]
at de.theredend2000.duels.listeners.InventoryClickListener.onClickInventory(InventoryClickListener.java:41) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
... 20 more

hey guys, so every time i tried to use it this error is popping up how can i fix it i added everythink in my pom.xml

can someone help me please

It looks like you didn't shade AnvilGUI at all. See https://github.com/WesJD/AnvilGUI#as-a-dependency