English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

That just means the java runtime can't find the class. Have a look immediately after the "NoClassDefFoundError", that will provide you with the class name it can't find.

Normally this is caused when the JVM can't find the class. So track down exactly where the class file is (whether its part of a third party library, then you can use a tool like http://www.inetfeedback.com/jarscan/beginSearch.do to find it).

Once you find the directory or jar file that contains the class file needed, then you need to add the jar file, or the base directory of the class file to your classpath. (The base directory is the path to the class file, without the directories that make up the package name)

The classpath can either be an environmental variable, or as part of a parameter on the command line when the java runtime is invoked.

2006-11-22 03:49:42 · answer #1 · answered by Isofarro 3 · 0 1

http://forum.java.sun.com/thread.jspa?threadID=622776&messageID=3528864

2006-11-22 03:48:02 · answer #2 · answered by hechicera_de_la_alma 3 · 0 0

fedest.com, questions and answers