Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassDefFound error

 
Eric Edwards
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic