On Tue, 28 Aug 2001, Lawrence, Gareth wrote:
> Date: Tue, 28 Aug 2001 10:31:33 +1200
> From: "Lawrence, Gareth" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Servlet Exception - Please Help
>
> 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.
>
JSP pages require a Java compiler, which means you need to run on a JDK,
not a JRE. If you've got a JDK installed, make sure that your $JAVA_HOME
environment variable points at it.
Craig
> 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]
>