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

  1. ,
    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 Amu mathi, 1 year ago
Hello (wrong name: com/college/learn/Hello)
via Oracle Community by 807601, 7 months ago
hello (wrong name: Hello)
via Oracle Community by 843785, 3 weeks ago
Hello (wrong name: a/ Hello)
via Stack Overflow by Matthew Pirocchi
, 2 years ago
via Oracle Community by 807599, 1 year ago
helloworld (wrong nam e: hello/HelloWorld)
via hivmr.com by Unknown author, 1 year ago
helloworld (wrong nam e: hello/HelloWorld)
java.lang.NoClassDefFoundError: Hello (wrong name: com/college/learn/Hello)	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$000(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)	at java.lang.ClassLoader.loadClassInternal(Unknown Source)