java.lang.LinkageError: loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/apache/xml/serializer/ToXMLStream"

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 xml-xalan-dev by Daniel Doubleday (JIRA), 1 year ago
loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/apache/xml/serializer/ToXMLStream"
via liferay.com by Unknown author, 2 years ago
loader constraint violation: loader (instance of org/apache/catalina/loader/StandardClassLoader) previously initiated loading for a different type with name "somepackage/someotherpackage/SomeObject"
via pentaho.com by Unknown author, 1 year ago
loader constraint violation: loader (instance of org/pentaho/di/core/plugins/KettleURLClassLoader) previously initiated loading for a different type with name "org/apache/commons/httpclient/HttpClient"
via Jenkins JIRA by o_orand, 1 year ago
loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "hudson/plugins/sonar/SonarPublisher"{color}
via Jenkins JIRA by o_orand, 1 year ago
loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "hudson/plugins/sonar/SonarPublisher"{color}
via Google Groups by lylyp...@gmail.com, 2 years ago
loader constraint violation: loader (instance of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type with name "de/susebox/jtopas/PluginTokenizer"
java.lang.LinkageError: loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/apache/xml/serializer/ToXMLStream"
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:905)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
at org.apache.xml.serializer.ObjectFactory.findProviderClass(ObjectFactory.java:505)
at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:259)
at com.jamesmurty.utils.XMLBuilder.toWriter(XMLBuilder.java:667)
at com.jamesmurty.utils.XMLBuilder.asString(XMLBuilder.java:690)
at org.jets3t.service.acl.AccessControlList.toXml(AccessControlList.java:210)
at org.jets3t.service.impl.rest.httpclient.RestStorageService.putAclImpl(RestStorageService.java:1441)
at org.jets3t.service.impl.rest.httpclient.RestStorageService.createObjectImpl(RestStorageService.java:1636)
at org.jets3t.service.impl.rest.httpclient.RestStorageService.pubObjectWithRequestEntityImpl(RestStorageService.java:1540)
at org.jets3t.service.impl.rest.httpclient.RestStorageService.putObjectImpl(RestStorageService.java:1527)
at org.jets3t.service.StorageService.putObject(StorageService.java:800)
at java.lang.Thread.run(Thread.java:662)

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, 1 year ago
2 times, 2 weeks ago
42 more bugmates

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