tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayson Falkner" <jay...@jspinsider.com>
Subject Tomcat 4.0 m5 and Tomcat 4.0 b-1 question
Date Sun, 14 Jan 2001 02:46:24 GMT
I was trying out the new features on Tomcat 4.0 m5 and it was working
well.Recently I switched computers and I now get the error included at the
bottom of this message.

Has anyone encountered this before? I think I might be missing a imple
install issue. All the servlets run fine. The error only happens on JSP.

JAVA_HOME and CATALINA_HOME are set correctly and I am not running it with
Apache.

Thanks,
Jayson

/////////////// Error messge //////////////////

org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\work\localhost\examples\_0002fjsp_0002fdates_0002fdate_0002ejsp
date_jsp_0.java:164: Incompatible type for method. Explicit cast needed to
convert java.lang.Throwable to java.lang.Exception.
            if (pageContext != null) pageContext.handlePageException(t);
                                                                     ^
1 error

	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478)
	at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:449)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:159)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:171)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:407)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:251)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:196)
	at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:464)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
	at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
818)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
	at java.lang.Thread.run(Thread.java:484)




Mime
View raw message