tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LEBRETON Philippe <philippe.lebre...@cti-paysloire.cnamts.fr>
Subject CLASSPATH problem : Tomcat can't find the jvm tools.jar
Date Fri, 30 Nov 2001 11:04:38 GMT
When i want used the JSP examples i have an error :
Error: 500

Location: /examples/jsp/include/include.jsp

Internal Servlet Error:

java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at org.apache.jasper.compiler.SunJavaCompiler.compile(Unknown
Source)
        at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
        at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown
Source)
        at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown
Source)
        at org.apache.tomcat.core.ContextManager.processRequest(Unknown
Source)
        at org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
        at org.apache.tomcat.core.ContextManager.service(Unknown Source)

        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
Source)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown
Source)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
        at java.lang.Thread.run(Thread.java:484)

My JAVA=/usr/lib/j2sk1.3.0 (i used the java JSDK)
i have forced the CLASSPATH=$JAVA_HOME/lib/tools.jar

and that does'nt work.

Help me please

Philippe LEBRETON


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message