Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helper-redis NoClassDefFoundError: org/slf4j/LoggerFactory #138

Open
joeleoli opened this issue Sep 25, 2022 · 0 comments
Open

helper-redis NoClassDefFoundError: org/slf4j/LoggerFactory #138

joeleoli opened this issue Sep 25, 2022 · 0 comments

Comments

@joeleoli
Copy link

so, I put helper & helper-redis on my server, but helper-redis can't connect to redis because the class org/slf4j/LoggerFactory can't be found which is used by jedis, I have put the same plugins on another server which have a few other plugins and I somehow don't get this issue on there.

[10:58:16 ERROR]: Error occurred while enabling helper-redis v1.2.1 (Is it up to date?)
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
        at redis.clients.jedis.JedisPool.<clinit>(JedisPool.java:17) ~[?:?]
        at me.lucko.helper.redis.plugin.HelperRedis.<init>(HelperRedis.java:70) ~[?:?]
        at me.lucko.helper.redis.plugin.HelperRedisPlugin.getRedis(HelperRedisPlugin.java:64) ~[?:?]
        at me.lucko.helper.redis.plugin.HelperRedisPlugin.enable(HelperRedisPlugin.java:45) ~[?:?]
        at me.lucko.helper.plugin.ExtendedJavaPlugin.onEnable(ExtendedJavaPlugin.java:100) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[patched_1.8.8.jar:git-PaperSpigot-445]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [patched_1.8.8.jar:git-PaperSpigot-445]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched_1.8.8.jar:git-PaperSpigot-445]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [patched_1.8.8.jar:git-PaperSpigot-445]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [patched_1.8.8.jar:git-PaperSpigot-445]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:203) [patched_1.8.8.jar:git-PaperSpigot-445]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [patched_1.8.8.jar:git-PaperSpigot-445]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387) ~[?:1.8.0_312]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[patched_1.8.8.jar:git-PaperSpigot-445]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[patched_1.8.8.jar:git-PaperSpigot-445]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_312]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_312]
        ... 13 more
[10:58:16 INFO]: [helper-redis] Disabling helper-redis v1.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant