• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassFoundError

 
Al Swensen
Greenhorn
Posts: 17
Firefox Browser jQuery PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've been working on a Swing program that works fine unless I try running it as an applet in a browser. Every time I run it, I get this error: "java.lang.NoClassDefFoundError: TestCalc$MyTableModel" and it doesn't start. The MyTableModel class is an inner class in the TestCalc class, and I can't figure out why it's saying that the class isn't found. If I run it as an applet in Eclipse, it works perfectly fine. but obiously, I'd like to run it in a browser! How can I fix this?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is TestCalc$MyTableModel.class in the same directory as TestCalc.class?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic