Releted to java.lang.NoClassDefFoundError [message #92615] |
Mon, 18 October 2004 00:13 |
Jenni
Messages: 1 Registered: October 2004
|
Junior Member |
|
|
Anybody can help me to solve this Exception. Excetption is following below.
Exception in thread "main" java.lang.NoClassDefFoundError: Ex
And my class coding is really very simple which is given below.
class Ex
{
public static void main(String args[[]])
{
System.out.println("Hello");
}
}
I m using Windows 2000 OS.
Setting of Environement Variable is following below.
C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:PROGRA~1ULTRAEDT;C:Program FilesUltraEdit;c:jdk1.3bin
Autoexec.bat is following below.
set path=c:jdk1.3bin;%path%
set classpath=c:;C:tomcatwebappssmackmeWEB-INFclassesvoj
set JAVA_HOME=c:jdk1.3
set CLASSPATH=C:
set CATALINA_HOME=c:tomcat
set CATALINA_BASE=c:tomcat
echo %classpath%
|
|
|