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 John Cristiano, 1 year ago
class/MyFirstApp (wrong name: MyFirstApp)
via Oracle Community by 807601, 8 months ago
hello (wrong name: Hello)
via Oracle Community by 843785, 1 day ago
example (wrong name: Example)
via Coderanch by Eddie Davis, 1 year ago
output (wrong name: OutPut)
java.lang.NoClassDefFoundError: class/MyFirstApp (wrong name: MyFirstApp)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(Unknown Source)	at Source)	at Source)	at$000(Unknown Source)	at$ Source)	at Method)	at 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)