wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "NoClassDefFoundError" Watch "NoClassDefFoundError" New topic
Author

NoClassDefFoundError

Swapnil Sanghai
Ranch Hand

Joined: Dec 05, 2011
Posts: 41

Hello friends.
When I compile a .java file it creates the .class file. But when I try to run that file then it shows the java.lang.NoClassDefFoundError : class name. Here class name is the name of class which I am trying to run. Previously many times I ran the programs but it is the first time that I got this type of error. Environment variable is already set.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFoundError
 
Similar Threads
Main method
Name Of file !!!
NoClassDeffoundError msg
having different class and file names
can anyone explain this error?