I'm using a Redis server on a Debian machine. I'm running a BungeeCord network on it. (BungeecordAPI)
First of all this is the error I get:
[25.05 18:49:17.637] INFO: [Proxy-1] java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of net/md_5/bungee/api/plugin/PluginClassloader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of net/md_5/bungee/api/plugin/PluginClassloader) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature
Here is my connection class:
import redis.clients.jedis.JedisPool;public class JedisConnection { private static JedisPool pool; public static void openConnection() { pool = new JedisPool("localhost"); } public static JedisPool getJedis() { return pool; }}
I'm calling openConnection
when the app starts but it gives me the error shown previously. Does anyone knows where this comes from?