Solved Maven + BungeeCord (Strange Error)

Discussion in 'BungeeCord Plugin Development' started by BenH, Apr 18, 2017.

Thread Status:
Not open for further replies.
  1. Hi, i've been working with Maven + BungeeCord recently and when coming to creating a new plugin, after i had finished it there was a very weird error. Can anyone explain this to me?

    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

    It may be me just being completely stupid and overlooking something
     
Thread Status:
Not open for further replies.