LuckPerms

LuckPerms

1M Downloads

NoClassDefFoundError for guava.graph.MutableGraph in LuckPerms v5.5.8 on Paper 1.21.4

Closed this issue ยท 6 comments

commented

Description:
When enabling LuckPerms v5.5.8 on Paper 1.21.4, the plugin fails to start with a NoClassDefFoundError for me.lucko.luckperms.lib.guava.graph.MutableGraph. The error occurs during the dependency injection phase.

Steps to Reproduce:

  1. Install LuckPerms-Bukkit-Legacy-5.5.8.jar on Paper 1.21.4
  2. Start the server
  3. Observe the error during plugin enable

Expected Behavior:
LuckPerms should start normally without class loading errors.

Actual Behavior:
Plugin fails to enable with the following stacktrace:

[14:35:21 ERROR]: Error occurred while enabling LuckPerms v5.5.8 (Is it up to date?) java.lang.NoClassDefFoundError: me/lucko/luckperms/lib/guava/graph/MutableGraph at me.lucko.luckperms.bukkit.util.PluginManagerUtil.injectDependency(PluginManagerUtil.java:63) ~[?:?] at me.lucko.luckperms.bukkit.LPBukkitPlugin.setupPlatformHooks(LPBukkitPlugin.java:224) ~[?:?] [...full stacktrace as provided in original report...]

Server Information:

  • Server Software: Paper 1.21.4 (build 232)
  • LuckPerms Version: 5.5.8 (Bukkit-Legacy)
  • Java Version:

java version "21.0.6" 2025-01-21 LTS

Java(TM) SE Runtime Environment (build 21.0.6+8-LTS-188)

Java HotSpot(TM) 64-Bit Server VM (build 21.0.6+8-LTS-188, mixed mode, sharing)

latest.log

Additional Information:

  • The error suggests a missing/incompatible Guava dependency
  • The issue persists after server restarts
  • This occurs on a fresh install without other plugins

Please let us know, if you can offer a beta-version for testing.

Have a nice day โ™ฅ

commented

Don't install the legacy version on Paper versions newer then 1.8.

Also try deleting the /plugins/LuckPerms/libs/ folder

commented

Don't install the legacy version on Paper versions newer then 1.8.

Also try deleting the /plugins/LuckPerms/libs/ folder

found it . . .

i run the S A paper and not the bungee version xD

Let me test it in the next few days with bungee ^^

commented

what does bungee have to do with this issue?

commented

โ“

commented

Let me test it in the next few days with bungee

commented

it exist different versions of lp, i used the bungee jar instead of the SA jar ๐Ÿ™ˆ absolutely my fault