Tomcat can't find the Java Compiler.  This is generally due to an
incorrect JAVA_HOME setting (JAVA_HOME/lib/tools.jar must be valid).  You
can create a symbolic link from the TOMCAT_HOME/lib/container to tools.jar
if you think you set the variable correctly.

        Randy

PS This question is asked on a weekly basis and can be found in the archive.
Next time you might want to look there before asking here.

> -----Original Message-----
> From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 11, 2002 3:58 PM
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat tools error
> 
> 
> Has anyone encountered this error trying the JSP examples on 
> Tomcat 4.0.3, using Sun JDK1.4.0, on Sun Solaris 2.6?  
> 
> Internal Server Error
> 
> type Exception report
> message Internal Server Error
> description The server encountered an internal error 
> (Internal Server Error) that prevented it from fulfilling 
> this request.
> exception 
> javax.servlet.ServletException: sun/tools/javac/Main
>       at 
> root cause 
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
>       at 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to