java.lang.reflect.InvocationTargetException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19

  • via Unknown by Balaji Saranathan,
  • via Unknown by 843840,
  • via Unknown by 807593,
  • Stack trace

    • java.lang.reflect.InvocationTargetException: java.lang.LinkageError: duplicate c lass definition: com/myCompany/myPackage/Test at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.