java.lang.NoClassDefFoundError: Sub (wrong name: two/Sub)

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

Solutions on the web

via Coderanch by Timothy Stone, 1 year ago
via Oracle Community by 807596, 1 year ago
aa (wrong name: HelloWorldApp)
via Oracle Community by 843797, 1 year ago
testing\SP_Test (wrong name: SP_Test)
via Oracle Community by 337714, 1 year ago
SampleSDOtoXML (wrong name: sample/SampleSDOtoXML)
via Oracle Community by 337777, 1 year ago
SampleSDOtoXML (wrong name: sample/SampleSDOtoXML)
via Oracle Community by 337714, 1 year ago
SampleSDOtoXML (wrong name: sample/SampleSDOtoXML)
java.lang.NoClassDefFoundError: Sub (wrong name: two/Sub)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:477)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:247)
at java.net.URLClassLoader.access$1(URLClassLoader.java:213)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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