java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "javax/xml/bind/annotation/XmlNs"

Stack Overflow | Tapas Jena | 3 months ago
  1. 0

    Spring-Boot application Class loading issue on JBOSS EAP

    Stack Overflow | 3 months ago | Tapas Jena
    java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "javax/xml/bind/annotation/XmlNs"
  2. 0

    [SSH] Provisioning broken

    GitHub | 2 years ago | paoloantinori
    java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) previously initiated loading for a different type with name "org/apache/maven/wagon/Wagon"
  3. 0

    Undefined property arquillian-core-version

    GitHub | 2 years ago | zenlambda
    java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) previously initiated loading for a different type with name "org/apache/maven/wagon/Wagon"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.LinkageError: io/fabric8/common/util/Filter

    GitHub | 2 years ago | jstrachan
    java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) previously initiated loading for a different type with name "io/fabric8/common/util/Filter"
  6. 0

    Deploying A Spring Boot App To Liberty - dWAnswers

    ibm.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor': Invocation of init method failed; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of com/ibm/ws/classloading/internal/AppClassLoader) previously initiated loading for a different type with name "javax/validation/bootstrap/GenericBootstrap"

    19 unregistered visitors
    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: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "javax/xml/bind/annotation/XmlNs"

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)[rt.jar:1.7.0_79]
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)[rt.jar:1.7.0_79]
      2 frames
    3. JBoss Modules
      Module.loadModuleClass
      1. org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)[jboss-modules.jar:1.3.6.Final-redhat-1]
      2. org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)[jboss-modules.jar:1.3.6.Final-redhat-1]
      3. org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)[jboss-modules.jar:1.3.6.Final-redhat-1]
      4. org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)[jboss-modules.jar:1.3.6.Final-redhat-1]
      5. org.jboss.modules.Module.loadModuleClass(Module.java:568)[jboss-modules.jar:1.3.6.Final-redhat-1]
      5 frames