aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFound error
 
Similar Threads
FlowLayout Display Problems
Componet Allignment
Won't Display
Please help me - accumulating scores!
Class and Object Problem