tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Tomcat 4.0b7 -> JSP Examples dont work
Date Tue, 04 Sep 2001 03:05:43 GMT
Double check for an old copy of servlet.jar (or possibly jsdk.jar) in your
classpath, or in your system extensions directory
($JAVA_HOME/jre/lib/ext).  This particular error message happens whenever
there is more than one servlet.jar visible, and one of them is < servlet
2.3 / jsp 1.2.

Craig

On Mon, 3 Sep 2001, Calvin Lau wrote:

> Date: Mon, 03 Sep 2001 13:49:31 -0700
> From: Calvin Lau <alienx@uclink4.berkeley.edu>
> Reply-To: tomcat-user@jakarta.apache.org
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 4.0b7 -> JSP Examples dont work
>
> I can't seem to get Tomcat4.0 running properly.  The Servlet examplse work
> fine but not the JSPs.
>
> I get:
>
> org.apache.jasper.JasperException: Unable to compile class for
> JSPnullC:\dev\jakarta-tomcat-4.0-b7\work\localhost\examples\jsp\dates\_0002fjsp_0002fdates_0002fdate_jsp.java:167:
> Incompatible type for method. Explicit cast needed to convert
> java.lang.Throwable to java.lang.Exception.
>             if (pageContext != null) pageContext.handlePageException(t);
>                                                                      ^
> 1 error
>
> I didn't move anything around.  I just installed it and the Servlet examples
> work fine but not the JSPs.
>
> Anyone else have this problem or know why?
>
>


Mime
View raw message