tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DIEGO RODRIGO <Diego.RODR...@total.com>
Subject Re:Problem with JSP Examples on Tomcat 3.1
Date Thu, 19 Oct 2000 21:25:59 GMT

put $JAVA_HOME/lib/tools.jar in tomcat's classpath , so tomcat can use javac

--
Diego Rodrigo
Vates S.A.
drodrigo@vates.com
+54(11)4346-6658


____________________Reply Separator____________________
Subject:    Problem with JSP Examples on Tomcat 3.1
Author: CEastman@sbu.com
Date:       19/10/2000 11:18 PM

[root@linux /]# 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(SunJavaCompiler.java:128)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
        at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:161)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
        at java.lang.Thread.run(Thread.java:484)

Mime
View raw message