the key thing is to find the tools.jar file.  that error is typically
caused by trying to run tomcat on the JRE instead of the JDK.  Downlaod
the JDK from sun or ibm and have another go - ensuring that JAVA_HOME is
set to the install dir of the JDK

cheers
dim

On Tue, 28 Aug 2001, Lawrence, Gareth wrote:

> Greetings All,
>  
> Please, please, please help me ;)  I've got to show off Servlets/JSP
> tomorrow at a presentation but I can't get tomcat even to boot the
> examples!!! If anyone could help me I would really appreciate it.  Thanks
> Gareth.
>  
> I get the error:
> A Servlet Exception Has Occurred
> Exception Report:
> javax.servlet.ServletException: sun/tools/javac/Main
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:461)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
>             ....... 
> Root Cause:java.lang.NoClassDefFoundError: sun/tools/javac/Main
>       at
> org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
>       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:271)
> 
> Gareth Lawrence 
> Institute of Information Sciences and Technology 
> Phone (350) 7231 
> Website http:\\www-ist.massey.ac.nz 
> MSN Messenger: [EMAIL PROTECTED] 
> 

Reply via email to