tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Urgent Help with Tomcat 4.0
Date Sun, 08 Jul 2001 17:49:39 GMT
Subj:   Help with Tomcat 4.0 b5 
Date:   08/07/01 19:09:10 GMT Daylight Time 
From:   <A HREF="mailto:TIMBMS">TIMBMS</A>  
To: <A HREF=""></A>

Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works 
fine but for some reason it does not run the jsp examples in the local host 
or any other jsp pages i created, even though it runs the servlets ok. i get 
the error shown at the end of this mail. But the strange thing is though, 
even though i get this error, when i view the page source code using netscape 
it shows the result of the jsp processing, for example when i tried the Date 
jsp example i got the error message but the page source contained the date 
resulted from the jsp. i installed the JDK 1.3 and set all the paths 
required... i had tomcat 3.2.2 which was running perfectly, but i need tomcat 
4.0 as it has support for WAP technology which i need for my WAP research 
project. Can u please help me... i do need it urgently...
thanx alot

here is the error message:

A Servlet Exception Has Occurred

org.apache.jasper.JasperException: Unable to compile class for 
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(
   at org.apache.jasper.servlet.JspServlet.loadJSP(
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServ ...etc

View raw message