java.lang.NoClassDefFoundError: Test (wrong name: tes t)

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 Aum Tao, 1 year ago
via Google Groups by yawnmoth, 2 years ago
Test (wrong name: test)
via Coderanch by Sascha Balkau, 1 year ago
Test (wrong name: testpack/Test)
via Coderanch by Sascha Balkau, 1 year ago
via Oracle Community by 807599, 1 year ago
Test (wrong name: ajax/Test)
via Google Groups by Chip, 3 months ago
> bank\test (wrong name : bank/Test) ^ ^ ! !
java.lang.NoClassDefFoundError: Test (wrong name: tes t)
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

Once, 4 months ago
Once, 5 months ago
12 times, 6 months ago
Once, 11 months ago
14 times, 1 year ago

Write tip

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