Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

need help Exception in thread "main" java.lang.NoClassDefFoundError:

843789Jul 2 2009 — edited Jul 5 2009
Hello im new to java.
when i wuz gonna run the HelloWorld Project for like 5th time i got this error.


Exception in thread "main" java.lang.NoClassDefFoundError: Ello
Caused by: java.lang.ClassNotFoundException: Ello
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Ello.  Program will exit.
well i thught it was a normal error so i runned one of my downloaded java programs.

the same error but now it is: Exception in thread "main" java.lang.NoClassDefFoundError: EGUI

but the EGUI file is in the folder...
the compiler works fine
Can some one help me?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2009
Added on Jul 2 2009
8 comments
138 views