aspose file tools
The moose likes Swing / AWT / SWT and the fly likes NoClassDefFound error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: NoClassDefFound error
 
Similar Threads
Won't Display
Componet Allignment
FlowLayout Display Problems
Class and Object Problem
Please help me - accumulating scores!