zeshan321 / ActionHealth

ActionHealth is a highly configurable Minecraft plugin that utilizes the action bar to display entity health.
MIT License
41 stars 39 forks source link

ActionHealth v3.5.6 generated an exception java.lang.NoClassDefFoundError #51

Closed PudinDeveloper closed 2 years ago

PudinDeveloper commented 2 years ago

I found this bug in my Bukkit Server, can you help me.

[00:22:10] [Server thread/WARN]: [ActionHealth] Task #7 for ActionHealth v3.5.6 generated an exception
java.lang.NoClassDefFoundError: net/md_5/bungee/api/chat/BaseComponent
        at com.zeshanaslam.actionhealth.utils.HealthUtil.sendActionBar(HealthUtil.java:272) ~[?:?]
        at com.zeshanaslam.actionhealth.utils.HealthUtil.sendHealth(HealthUtil.java:77) ~[?:?]
        at com.zeshanaslam.actionhealth.LookThread.run(LookThread.java:45) ~[?:?]
        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:77) ~[craftbukkit-1.18-R0.1-SNAPSHOT.jar:3354-Bukkit-f49e9d1]
        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:414) ~[craftbukkit-1.18-R0.1-SNAPSHOT.jar:3354-Bukkit-f49e9d1]
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1203) ~[craftbukkit-1.18-R0.1-SNAPSHOT.jar:3354-Bukkit-f49e9d1]
        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:415) ~[craftbukkit-1.18-R0.1-SNAPSHOT.jar:3354-Bukkit-f49e9d1]
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1161) ~[craftbukkit-1.18-R0.1-SNAPSHOT.jar:3354-Bukkit-f49e9d1]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:998) ~[craftbukkit-1.18-R0.1-SNAPSHOT.jar:3354-Bukkit-f49e9d1]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:294) ~[craftbukkit-1.18-R0.1-SNAPSHOT.jar:3354-Bukkit-f49e9d1]
        at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.chat.BaseComponent
        at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:147) ~[bukkit-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:99) ~[bukkit-1.18-R0.1-SNAPSHOT.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        ... 11 more