java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature

Terracotta | hubbardr | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ehcache-probe includes org.slf4j

    Terracotta | 7 years ago | hubbardr
    java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature
  2. 0

    If I get rid of my 'multiple SLF4J Bindings' warning the logging stops working

    Stack Overflow | 5 years ago | ssloan
    java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature
  3. 0

    GitHub comment 34#9594211

    GitHub | 5 years ago | andreparodi
    java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/gradle/util/MutableURLClassLoader) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLog - Sucre - 博客频道 - CSDN.NET

    csdn.net | 1 year ago
    java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type LoggerFactory; used in the signature
  6. 0

    remove transitive compile dependency to slf4j

    GitHub | 4 years ago | jadala
    java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/vertx/java/platform/impl/ModuleClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type LoggerFactory; used in the signature

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature

      at org.slf4j.LoggerFactory.getILoggerFactory()
    2. SLF4J API Module
      LoggerFactory.getILoggerFactory
      1. org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:274)
      1 frame