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 Alex George, 1 year ago
HelloWorld (wrong name: com/mypackage/HelloWorld)
via Coderanch by Vinnie Jenks, 1 year ago
HelloWorld (wrong name: com/scientifik/SampleCLI/HelloWorld)
via Coderanch by Riley Thomas, 1 year ago
HelloWorld (wrong name: hello/HelloWorld)
via Oracle Community by 807601, 4 months ago
HelloWorld (wrong name: org/HelloWorld)
via Oracle Community by 807597, 2 years ago
HelloWorld (wrong name: StudyPackage/HelloWorld)
via Stack Overflow by Daryl Spitzer
, 1 year ago
HelloWorld (wrong name: com/sun/jna/examples/HelloWorld)
java.lang.NoClassDefFoundError: HelloWorld (wrong name: com/mypackage/HelloWorld)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(	at	at	at$100(	at$	at Method)	at	at java.lang.ClassLoader.loadClass(	at sun.misc.Launcher$AppClassLoader.loadClass(	at java.lang.ClassLoader.loadClass(	at java.lang.ClassLoader.loadClassInternal(