This means that the tools.jar file was not put in your classpath.  Ensure that the JAVA_HOME environment variable is set or modify your batch files to specify it directly.  Tools.jar contains the javac compiler which Jasper uses to compile the code it generates from the JSP file.
 
Regards,
Paul
 
-----Original Message-----
From: wkc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 10, 2001 10:54 AM
To: [EMAIL PROTECTED]
Subject: Configuration of Tomcat

I've followed the instructions regarding updating the tomcat.bat file to accomodate for the jdk home directory.
However when trying to access a JSP example whilst having the tomcat server running the following error message appears in the DOS prompt:
 
unhandled error! You might want to consider having an error page to report such errors more gracefully
java.lang.NoClassDefFoundError: sun/tools/javac/Main
    at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
 
please help, since I cannot proceed with my dissertation is this problem is not overcome.
 
Thanks
WKC

Reply via email to