| || |
Can anybone tell what this error means
It means that Java is looking for a class definition (that is, the code that defines an object) and can't find it. The typical reason for this is that your Java CLASSPATH environment variable is not set up to point at the directory (folder) where the tools.jar file resides.
If that's not clear, please let me know.
I am not clear..Could you please explain that.
HOw to set up CLASSPATH environment variable?And where should I look for it ?
java.lang.exception:java.lang.NoClassDefFoundError is a run time error. Java is telling you that a class that is needed at run time cannot be found by the classloader. This means that the class is not on the classpath, either because:
1) The class is not on the CLASSPATH environment variable. The CLASSPATH environment variable lists locations where java should look to find class binaries. It can be set several ways - using "set", such as in the DOS operating system, using "export", for unix systems, or setting a CLASSPATH environment variable using your Windows Control Panel.
2) The class is not packaged in an archive such as a .jar, .war, or .ear.