tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Starsinic, Frank" <frank.starsi...@boe.ca.gov>
Subject javax.servlet not found in import - how can that be?
Date Tue, 27 Nov 2001 18:43:17 GMT
Here's the error i get when trying a simple jsp page.
I don't understand how these packages cannot be found.
the jar file are right there in the lib directories from the 
initial install???

any help would be appreciated.
thanks a lot,
frank



Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

----------------------------------------------------------------------------
----

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for
JSPC:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspa
fsp_0005flogin_jsp_0.java:1: Package javax.servlet not found in import.
import javax.servlet.*;
       ^
C:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspafsp
_0005flogin_jsp_0.java:2: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
       ^
C:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspafsp
_0005flogin_jsp_0.java:3: Package javax.servlet.jsp not found in import.
import javax.servlet.jsp.*;
       ^
C:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspafsp
_0005flogin_jsp_0.java:4: Package javax.servlet.jsp.tagext not found in
import.
import javax.servlet.jsp.tagext.*;
       ^
C:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspafsp
_0005flogin_jsp_0.java:10: Package org.apache.jasper.runtime not found in
import.
import org.apache.jasper.runtime.*;
       ^
C:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspafsp
_0005flogin_jsp_0.java:12: Class org.apache.jasper.JasperException not found
in import.
import org.apache.jasper.JasperException;
       ^
C:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspafsp
_0005flogin_jsp_0.java:14: Class org.apache.struts.util.ErrorMessages not
found in import.
import org.apache.struts.util.ErrorMessages;
       ^
C:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspafsp
_0005flogin_jsp_0.java:15: Class gov.ca.boe.util.Msg not found in import.
import gov.ca.boe.util.Msg;
       ^
C:\packages\tomcat4.0\work\localhost\afsp\_0002fafsp_0005flogin_0002ejspafsp
_0005flogin_jsp_0.java:20: Superclass HttpJspBase of class
_0002fafsp_0005flogin_0002ejspafsp_0005flogin_jsp_0 not found.
public class _0002fafsp_0005flogin_0002ejspafsp_0005flogin_jsp_0 extends
HttpJspBase {
                                                                         ^
9 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.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
	at java.lang.Thread.run(Unknown Source)



----------------------------------------------------------------------------
----

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message