florent barbare wrote:
>
> 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.ja
> va:128)

Tomcat has to compile the jsp into a class file. The exception message is
telling you that Tomcat can't find the compiler (sun/tools/javac/Main.class).
You need to check that the classpath for Tomcat is set so that it can see the
library with the compiler. For JDK1.1, I think it's in classes.zip. For Java2,
the compiler class is in tools.jar

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to