This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ""NoClassDefFoundError"" Watch ""NoClassDefFoundError"" New topic


Mahesh Pinnamaneni
Ranch Hand

Joined: Jul 02, 2004
Posts: 100
hai buddies,
when i tried to run the class file i am getting the following error.

"Exception in thread "main" java.lang.NoClassDefFoundError: TestThinApp"

i have just installed jsdk1.4.0.are there any settings i have to make instead to work fine.
thanking u
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
please see in

Java Developer, Thailand
Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295

This might be due to the problem in the class path.

Try typing set classpath=%classpath%;.(including he dot at the end)

Now try compiling...or set the class path properly in the environment variables

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: "NoClassDefFoundError"
It's not a secret anymore!