java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.jaxen.dom.NamespaceNode.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/jaxen/dom/NamespaceNode, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Node have different Class objects for the type org/w3c/dom/UserDataHandler used in the signature

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 JBoss Issue Tracker by Volker Berlin, 1 year ago
/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/jaxen/dom/NamespaceNode, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Node have different Class objects for the type org/w3c/dom/UserDataHandler used in the signature
via Google Groups by Ana de Gracia Núñez, 4 months ago
org/jboss/classloader/spi/ base/BaseClassLoader) of the current class, freemarker/ext/dom/ SunInternalXalanXPathSupport$1, and the class loader (instance of <bootloader>) for interface com/sun/org/apache/xml/internal/utils/ PrefixResolver have different Class objects for the type org/w3c/dom/ Node used in the signature
via Stack Overflow by scotttty
, 2 years ago
loader constraint violation: loader (instance of &lt;bootloader&gt;) previously initiated loading for a different type with name "javax/transaction/xa/XAResource"
java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.jaxen.dom.NamespaceNode.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/jaxen/dom/NamespaceNode, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Node have different Class objects for the type org/w3c/dom/UserDataHandler used in the signature
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228)
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:118)
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:133)
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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