tomcat编辑JSP错误释疑
某JSP页在JBUILDER自带的TOMCAT环境下运行正常,但当添加到外部TOMCAT时,出现如下错误:
org.apache.jasper.JasperException: Unable to compile class for JSP
D:\Program Files\Apache Tomcat 4.0\work\localhost\zhengxian\zlsq\list$jsp.java:197: Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception.
if (pageContext != null) pageContext.handlePageException(t);
^
1 error
..............................................
显然pageContext是它自己编绎出来的代码,TOMCAT设置及项目设置均正常,是什么愿因呢?
请各位指点!