Hi everyone!!! I finally fixed all the errors in my application but now I get a main exception that I don't really know how many problems can bring. The message says:

Exception in thread "main" java.lang.NoClassDefFoundError: sampleapps/tutorial/PrimerApp

Thanx 4 your colaboration!

Recommended Answers

All 2 Replies

If your using the command line you either don't have your classpath set, or it's not in the folder the classpath is set to.

If your using an IDE it's probably not residing in the right folder.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.