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"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Tapas Jena
, 1 year ago
loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "javax/xml/bind/annotation/XmlNs"
via GitHub by jvasileff
, 6 months ago
loader constraint violation: loader (instance of ceylon/modules/jboss/runtime/CeylonModuleClassLoader) previou sly initiated loading for a different type with name "com/redhat/ceylon/compiler/java/runtime/model/TypeDescriptor"
via Stack Overflow by Tomas
, 8 months ago
: java.lang.LinkageError: loader constraint violation: loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) previously initiated loading for a different type with name "javax/xml/stream/XMLStreamReader"
via blogspot.com by Unknown author, 2 years ago
loader constraint violation: loader (instance of org/ecl ipse/osgi/internal/baseadaptor/DefaultClassLoader) previously initiated loading for a different type with name "oracle/sql/converter/CharacterConverters"
via eclipse.org by Unknown author, 1 year ago
loader constraint violation: loader (instance of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type with name "nl/reinders/bm/Batch"
via eclipse.org by Unknown author, 1 year ago
loader constraint violation: loader (instance of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type with name "nl/reinders/bm/Batch"
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(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
44 times, 2 months ago
42 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.