• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in when compiling in NetBeans 4.1

 
Atlas Cot
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

I get the following error message when i run my program in NetBeans:

java.lang.NoClassDefFoundError: javaapplication4/Test
Exception in thread "main"
Java Result: 1

How do fix this?

thanks in advance,
Atlas
 
Norm Radder
Rancher
Posts: 1651
22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure that the referenced class is on the classpath
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!