tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Niyazov <niya...@solni.law.columbia.edu>
Subject Re: Include files in Tomcat
Date Fri, 13 Jul 2001 02:51:08 GMT
The error indicates that tomcat doesn't know where the packages are located. 
Make sure you have JAVA_HOME is set and all jars needed are in $TOMCAT_HOME/lib.

                                      - Boris


>
>
>Hi 
>i am working with XML and I have my JSPs in the tomcat (version 3.2.2) . I
>am trying to import org.apache.xpath and import javax.sql and i get the
>following errors. 
>Can any one help me?
>
>
>Internal Servlet Error:
>
>org.apache.jasper.JasperException: Unable to compile class for
>JSPC:\tomcat\jakarta-tomcat-3.2.2\work\localhost_8080%2Fpadma\_0002fssMenu_0
>002ejspssMenu_jsp_0.java:16: Package javax.sql not found in import.
>import javax.sql.*;
>       ^
>C:\tomcat\jakarta-tomcat-3.2.2\work\localhost_8080%2Fpadma\_0002fssMenu_0002
>ejspssMenu_jsp_0.java:20: Package org.apache.xalan.serialize not found in
>import.
>import org.apache.xalan.serialize.*;
>       ^
>C:\tomcat\jakarta-tomcat-3.2.2\work\localhost_8080%2Fpadma\_0002fssMenu_0002
>ejspssMenu_jsp_0.java:21: Package org.apache.xpath not found in import.
>import org.apache.xpath.*;
>       ^
>3 errors
>
>	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
>	at
>org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
>	at
>org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
>	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
>	at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
>rvlet.java:258)
>	at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
>va:268)
>	at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
>	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>	at org.apache.tomcat.core.Handler.service(Handler.java:287)
>	at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>	at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
>7)
>	at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>	at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
>onnectionHandler.java:213)
>	at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>	at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>	at java.lang.Thread.run(Thread.java:484)
>
>Thanks in advance
>Padma


Mime
View raw message