The moose likes Beginning Java 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "NoClassDefFoundError" Watch "NoClassDefFoundError" New topic



Joined: Jan 24, 2002
Posts: 4
I got this error when i tried to run a simple java program.
"Exception in thread "main" java.lang.NoClassDefFoundError:"
I am using windows 2000.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner!

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Sounds like a classpath issue. A nice feature here at JavaRanch is the ability to search past conversations for lots of valuable information. If you try a quick search on this forum for "NoClassDefFoundError" in the subject line, you'll find many past conversations on this topic and the corresponding solutions. The search page link is at the top right of this page.
Any luck?
I agree. Here's the link:
subject: NoClassDefFoundError
It's not a secret anymore!