tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Metzler" <>
Subject NoClassDefFoundError when running JSPs
Date Mon, 20 Mar 2000 06:52:57 GMT

I can run the servlet examples via Tomcat.  However, each time I attempt to access a JSP,
I get an HTTP 500 Internal server error on the client web browser.

The Tomcat window in NT shows:

Starting tomcat. Check logs/tomcat.log for error messages
Unhandled error! You might want to consider having an error page to report such
errors more gracefully
java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at org.apache.jasper.compiler.SunJavaCompiler.compile(
        at org.apache.jasper.compiler.Compiler.compile(, Compiled Code)
        at org.apache.jasper.runtime.JspServlet.loadJSP(
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(
        at org.apache.jasper.runtime.JspServlet.service(, Compiled Code)
        at javax.servlet.http.HttpServlet.service(
        at org.apache.tomcat.core.ServletWrapper.handleRequest(, Compiled
        at org.apache.tomcat.core.ContextManager.service(
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(

This seems to indicate that I am missing a Java class or JAR.

I do have J2EE installed over the J2SE.  Any idea what I am missing?



View raw message