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 Oracle Community by 807593, 1 year ago
via Coderanch by Andreas Sandberg, 1 year ago
Main (wrong name: home/andreas/tmp/Main)
via Oracle Community by 843829, 1 year ago
Main (wrong name: /nexes/test/Main)
via Oracle Community by 807549, 1 year ago
Main (wrong name: org /apache/tools/ant/Main)
via wpthm.com by Unknown author, 2 years ago
Main (wrong name: org /apache/tools/ant/Main)
via Coderanch by Andrew Babaian, 1 year ago
helloworld (wrong name: HelloWorld)
java.lang.NoClassDefFoundError: main (wrong name: Main)	at java.lang.ClassLoader.defineClass0(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:509)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)	at java.net.URLClassLoader.access$100(URLClassLoader.java:54)	at java.net.URLClassLoader$1.run(URLClassLoader.java:193)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)	at java.lang.ClassLoader.loadClass(ClassLoader.java:262)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)