Zrips / CMI

117 stars 99 forks source link

Java.lang.NoClassDefFoundError #8784

Open JuergenUniVie opened 6 months ago

JuergenUniVie commented 6 months ago

Description of Issue

[11:42:28] [Server thread/WARN]: java.lang.NoClassDefFoundError: be/maximvdw/placeholderapi/PlaceholderReplacer [11:42:28] [Server thread/WARN]: at CMI-9.7.2.12.jar//com.Zrips.CMI.Modules.Hooks.CMIHookType$7.update(CMIHookType.java:138) [11:42:28] [Server thread/WARN]: at CMI-9.7.2.12.jar//com.Zrips.CMI.Modules.Hooks.CMIHookType.init(CMIHookType.java:214) [11:42:28] [Server thread/WARN]: at CMI-9.7.2.12.jar//com.Zrips.CMI.CMI.onEnable(CMI.java:1688) [11:42:28] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) [11:42:28] [Server thread/WARN]: at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) [11:42:28] [Server thread/WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) [11:42:28] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:519) [11:42:28] [Server thread/WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:604) [11:42:28] [Server thread/WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:553) [11:42:28] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675) [11:42:28] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) [11:42:28] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) [11:42:28] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) [11:42:28] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) [11:42:28] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583) [11:42:28] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: be.maximvdw.placeholderapi.PlaceholderReplacer [11:42:28] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197) [11:42:28] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) [11:42:28] [Server thread/WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) [11:42:28] [Server thread/WARN]: ... 15 more

Version Information

9.7.2.12

Errors

[11:42:28] [Server thread/WARN]: java.lang.NoClassDefFoundError: be/maximvdw/placeholderapi/PlaceholderReplacer
[11:42:28] [Server thread/WARN]:    at CMI-9.7.2.12.jar//com.Zrips.CMI.Modules.Hooks.CMIHookType$7.update(CMIHookType.java:138)
[11:42:28] [Server thread/WARN]:    at CMI-9.7.2.12.jar//com.Zrips.CMI.Modules.Hooks.CMIHookType.init(CMIHookType.java:214)
[11:42:28] [Server thread/WARN]:    at CMI-9.7.2.12.jar//com.Zrips.CMI.CMI.onEnable(CMI.java:1688)
[11:42:28] [Server thread/WARN]:    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287)
[11:42:28] [Server thread/WARN]:    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202)
[11:42:28] [Server thread/WARN]:    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109)
[11:42:28] [Server thread/WARN]:    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:519)
[11:42:28] [Server thread/WARN]:    at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:604)
[11:42:28] [Server thread/WARN]:    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:553)
[11:42:28] [Server thread/WARN]:    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675)
[11:42:28] [Server thread/WARN]:    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437)
[11:42:28] [Server thread/WARN]:    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323)
[11:42:28] [Server thread/WARN]:    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136)
[11:42:28] [Server thread/WARN]:    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323)
[11:42:28] [Server thread/WARN]:    at java.base/java.lang.Thread.run(Thread.java:1583)
[11:42:28] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: be.maximvdw.placeholderapi.PlaceholderReplacer
[11:42:28] [Server thread/WARN]:    at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197)
[11:42:28] [Server thread/WARN]:    at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164)
[11:42:28] [Server thread/WARN]:    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[11:42:28] [Server thread/WARN]:    ... 15 more

Relevant Config Sections

No response

Relevant Plugins

No response

Agreements

Zrips commented 6 months ago

Which version of PlaceholderAPI are you running?

JuergenUniVie commented 6 months ago

https://ci.extendedclip.com/view/Plugins/job/PlaceholderAPI/lastBuild/ 2.11.6

Zrips commented 6 months ago

Make sure that you are using PlaceholderAPI-2.11.6.jar file. If you are, then I will need to know output from /cmi version to have better idea what system you are running. But as of testing everything looks to be working correctly with 2.11.6 version.

JuergenUniVie commented 6 months ago

14:32:50 INFO: CMI Plugin Version: 9.7.2.12 MySQL 14:32:50 INFO: CMILib: 1.4.7.14 14:32:50 INFO: Server: Paper(112) 1.20.6-R0.1-SNAPSHOT+ 14:32:50 INFO: CMI economy: Disabled Vault: 1.7.3-b131 CMI Chat: Disabled 14:32:50 INFO: Modules -> 48 enabled 11 disabled: spawnerProximity, armorstand, ranks, firstJoinMessages, votifier, moneyCheque, portals, holograms, spawners, spawnerCharge, vanish

Zrips commented 6 months ago

Check startup logs for any other errors before CMI one, as this error issint happening on same test server, so another option would be that PAPI itself failed to load in for some reason

github-actions[bot] commented 1 week ago

This issue has been marked as stale due to inactivity.