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

Coderanch | Balaji Saranathan | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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