minecrafter / RedisBungee

The leading player synchronization system for BungeeCord
https://www.spigotmc.org/resources/redisbungee.13494/
Eclipse Public License 1.0
157 stars 122 forks source link

slf4j logger definition conflict #81

Open jiajunmao opened 3 years ago

jiajunmao commented 3 years ago

Hi thanks for making this amazing plugin. When I was trying to enable the plugin I was prompted with the following error.

Caused by: java.util.concurrent.ExecutionException: java.lang.LinkageError: loader constraint violation: when resolving met
hod 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader net.md_5.bungee.api.pl
ugin.PluginClassloader @4eba3c3f of the current class, org/slf4j/LoggerFactory, and the class loader net.md_5.bungee.api.pl
ugin.PluginClassloader @718607eb for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class o
bjects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader
net.md_5.bungee.api.plugin.PluginClassloader @4eba3c3f, parent loader 'app'; org.slf4j.impl.StaticLoggerBinder is in unname
d module of loader net.md_5.bungee.api.plugin.PluginClassloader @718607eb, parent loader 'app')

The full error is here to not having a huge issue report https://pastebin.com/iRnZZZ5C.