在eclipse3.o+myeclipse5.o+tomcat4.o下创建的tomcat工程,把他转移到eclipse3.2+myeclipse6.o+tomcat5.5-下使用的时候访问出现下面错误: org.apache.jasper.JasperException: Unable to compile class for JSP:
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 8 in the generated java file
The type login_jsp must implement the inherited abstract method HttpJspBase.getIncludes()
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 36 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 37 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 38 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 39 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 40 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 41 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 42 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 43 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 44 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:98)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
jp.co.azia.base.action.PruActionServlet.process(PruActionServlet.java:34)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
jp.co.azia.base.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:194)
jp.co.azia.base.filter.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:85)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs. 请问是什么问题呀,怎么解决?
先谢谢各位看帖的人,有知道的麻烦指点下。主要问题是JSP页面出现:
The type login_jsp must implement the inherited abstract method HttpJspBase.getIncludes()
-The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
这两个错误是什么原因呀?
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 8 in the generated java file
The type login_jsp must implement the inherited abstract method HttpJspBase.getIncludes()
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 36 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 37 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 38 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 39 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 40 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 41 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 42 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 43 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
JSP FileName:null
Java FileName:/F:/workspace/admin/work//org/apache/jsp/WEB_002dINF/jsp/login\login_jsp.java
An error occurred at line: 44 in the generated java file
The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:98)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
jp.co.azia.base.action.PruActionServlet.process(PruActionServlet.java:34)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
jp.co.azia.base.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:194)
jp.co.azia.base.filter.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:85)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs. 请问是什么问题呀,怎么解决?
先谢谢各位看帖的人,有知道的麻烦指点下。主要问题是JSP页面出现:
The type login_jsp must implement the inherited abstract method HttpJspBase.getIncludes()
-The method getTagHandlerPool(ServletConfig) is undefined for the type TagHandlerPool
这两个错误是什么原因呀?
解决方案 »
- 问个问题,关于数据连接....
- jsp-web开发环境配置求解
- spring+hibernate 处理blob
- [紧急][在线等]请问在struts中如何给<html:text>赋值问题和关于STRUTS的小问题~
- 请问ajax怎样调用DispatchAction的方法
- 急求:java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket,如何解决
- WebRoot?
- 能通过forward把request信息转发给另一个网站的页面吗?
- 如何用jsp存取和修改oracle9i或sql server2000中的图片和大文本?
- 什么是c/s结构,b/s结构??
- JSP显示问题,帮帮忙,急死我了
- 如何删除td下面的child
然后在把你旧工程的代码copy进去试试
而方法getTagHandlerPool()则提示没有定义,可能是新版本的已经不再使用的方法....
错误原因等待中ing...