java.lang.NoClassDefFoundError: MyProjects/Test (wron g name: Myprojects/Test)

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

Samebug tips

,
Expert tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

Solutions on the web

via Coderanch by Ayanik Sil, 1 year ago
MyProjects/Test (wron g name: Myprojects/Test)
via Coderanch by Ayanik Sil, 1 year ago
MyProjects/Test (wron g name: Myprojects/Test)
via Oracle Community by 843810, 1 year ago
DiveLog\DiveLog (wron g name: divelog/DiveLog)
via Oracle Community by 843802, 1 year ago
SerialForwarder (wron g name: net/tinyos/sf/SerialForwarder)
via Google Groups by yawnmoth, 2 years ago
Test (wrong name: test)
via Oracle Community by 807599, 1 year ago
Test (wrong name: ajax/Test)
java.lang.NoClassDefFoundError: MyProjects/Test (wron g name: Myprojects/Test)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Once, 3 months ago
Once, 4 months ago
145 more bugmates

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