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

xml-xalan-dev | Daniel Doubleday (JIRA) | 6 years ago
  1. 0

    [jira] [Created] (XALANJ-2538) TransformerFactory.newInstance() returns the same instance twice

    xml-xalan-dev | 6 years ago | Daniel Doubleday (JIRA)
    java.lang.LinkageError: loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/apache/xml/serializer/ToXMLStream"
  2. 0

    Titan Dependency Breaks Web-Application

    GitHub | 3 years ago | symiosis
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
  3. 0

    ang.LinkageError: loader constraint violation: loader (instance of org/apache/catalina/loader/WebappClassLoader)

    Stack Overflow | 2 years ago | user1432980
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[T omcat].StandardHost[localhost].StandardContext[/pmc-web]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven - deploy webapp to tomcat before Unit test

    Stack Overflow | 3 years ago | Siva
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[/pay-war]]
  6. 0

    tomcat startup issue on windows with intellij-idea

    Stack Overflow | 3 years ago | gleasonomicon
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

    4 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 (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/apache/xml/serializer/ToXMLStream"

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      URLClassLoader.findClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:616)
      4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      5. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
      6. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
      7. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      9 frames
    3. Glassfish Core
      WebappClassLoader.loadClass
      1. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:905)
      2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      3 frames
    4. GWT dev
      SerializerFactory.getSerializer
      1. org.apache.xml.serializer.ObjectFactory.findProviderClass(ObjectFactory.java:505)
      2. org.apache.xml.serializer.SerializerFactory.getSerializer(SerializerFactory.java:127)
      2 frames
    5. Xalan Java
      TransformerIdentityImpl.transform
      1. org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:259)
      2. org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:329)
      2 frames
    6. java-xmlbuilder
      XMLBuilder.asString
      1. com.jamesmurty.utils.XMLBuilder.toWriter(XMLBuilder.java:667)
      2. com.jamesmurty.utils.XMLBuilder.asString(XMLBuilder.java:690)
      3. com.jamesmurty.utils.XMLBuilder.asString(XMLBuilder.java:706)
      3 frames
    7. JetS3t
      ThreadedStorageService$CreateObjectRunnable.run
      1. org.jets3t.service.acl.AccessControlList.toXml(AccessControlList.java:210)
      2. org.jets3t.service.impl.rest.httpclient.RestStorageService.putAclImpl(RestStorageService.java:1441)
      3. org.jets3t.service.impl.rest.httpclient.RestStorageService.createObjectImpl(RestStorageService.java:1636)
      4. org.jets3t.service.impl.rest.httpclient.RestStorageService.pubObjectWithRequestEntityImpl(RestStorageService.java:1540)
      5. org.jets3t.service.impl.rest.httpclient.RestStorageService.putObjectImpl(RestStorageService.java:1527)
      6. org.jets3t.service.StorageService.putObject(StorageService.java:800)
      7. org.jets3t.service.multi.ThreadedStorageService$CreateObjectRunnable.run(ThreadedStorageService.java:1332)
      7 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame