This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes NoClassDefFound error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "NoClassDefFound error" Watch "NoClassDefFound error" New topic
Author

NoClassDefFound error

Eric Edwards
Greenhorn

Joined: Oct 13, 2005
Posts: 28
I am using the newest version of TextPad, windows xp pro, etc.
When I try to run this app from TextPad or the command lline I get a:
Exception in thread main
java.lang.NoClassDefFound InvoiceApp
error on the TextPad and command line console.
I am using a book and teaching myself java--I'm stuck here.
My code is below.
Thanks in advance for any help.
Eric



[ November 07, 2005: Message edited by: eric edw ]
[ November 07, 2005: Message edited by: eric edw ]
Eric Edwards
Greenhorn

Joined: Oct 13, 2005
Posts: 28
Figured it out.
I had installed Quick Time the other day so I could view something.
QT had installed something called QT java and had changed my class path.
After I uninstalled QT, it corrected my class path and all is working fine now.
Another lesson learned on things to check.
Eric
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: NoClassDefFound error
 
It's not a secret anymore!