If you navigate to the Tomcat JSP examples, I am sure you will see a 
similar error, though.

JSPs are compiled (usually) at Runtime.

You are using a JRE (Java Runtime Environment),  not a JDK (Java 
Development Environment). Please install a JDK from 
http://java.sun.com  and make sure to include $(JAVAHOME)/lib/tools.jar  on 
your Classpath (this will include the sun.tools.javac class that will 
satisfy the below dependency)

I am sure this will solve the problem.

Regards,
Jeremy Kuhnash




At 06:52 PM 7/12/2002 -0500, Chris Weaver wrote:
>I'm about to go nuts with this.  It should be so simple.
>1)  Install Tomcat 4.0.4
>2)  Move Jetspeed jar 1.3a2 release jar file to webapps dir under Tomcat.
>3)  From DOS prompt run setclasspath.bat.
>4)  Run startup.bat.
>5)  Point browser to http://localhost:8080/ and I see the Tomcat start page.
>6)  Point browser to http://localhost:8080/jetspeed/
>
>Blam-o!  Every time.  Every version.  Tried Tomcat 4, 3.3.  Using Java 
>1.4.  Used
>Java 1.3.  Completely stumped.
>
>Win2K system.  Tomcat installed at C:\ApacheTomcat4.0.  Java installed at
>C:\j2re1.4.1.
>
>Here is the latest:
>
>exception
>
>javax.servlet.ServletException: sun/tools/javac/Main
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>
>         at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>
><<<<snip>>>>
>
>root cause
>
>java.lang.NoClassDefFoundError: sun/tools/javac/Main
>         at
>org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
>         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
>         at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
>
>         at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
>
><<<snip>>>
>
>Can someone offer me any suggestions?
>Thanks,
>Chris
>
>
>--
>To unsubscribe, 
>e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to