You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2002/03/11 21:14:28 UTC

RE: Tomcat tools error

	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:Randy.L.Kemp@motorola.com]
> Sent: Monday, March 11, 2002 3:58 PM
> To: 'tomcat-user@jakarta.apache.org'
> 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:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>