java.lang.reflect.InvocationTargetException: java.lang.LinkageError: duplicate c lass definition: com/myCompany/myPackage/Test

Coderanch | Balaji Saranathan | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    URLClassLoader says LinkageError

    Coderanch | 1 decade ago | Balaji Saranathan
    java.lang.reflect.InvocationTargetException: java.lang.LinkageError: duplicate c lass definition: com/myCompany/myPackage/Test
  2. 0

    tomcat

    Oracle Community | 1 decade ago | 843840
    java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase
  3. 0

    can't get Tomcat to startup.

    Oracle Community | 1 decade ago | 807593
    java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    web server problem

    Oracle Community | 1 decade ago | 807594
    java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org /xml/sax/HandlerBase

    Root Cause Analysis

    1. java.lang.reflect.InvocationTargetException

      java.lang.LinkageError: duplicate c lass definition: com/myCompany/myPackage/Test

      at java.lang.ClassLoader.defineClass0()
    2. Java RT
      URLClassLoader.findClass
      1. java.lang.ClassLoader.defineClass0(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:486)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      8 frames