tomcat5的common/lib目录下jar包和WEB/lib下jar包冲突问题

  • Post author:
  • Post category:其他


我在学习struts过程中,启动tomcat5,基本正常,打开普通的jsp也正常,但打开与struts相关的jsp报错如下:

javax.servlet.ServletException: javax.servlet.jsp.PageContext.handlePageException(Ljava/lang/Throwable;)V

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)

javax.servlet.http.HttpServlet.service(HttpServlet.java:868)


root cause

java.lang.NoSuchMethodError: javax.servlet.jsp.PageContext.handlePageException(Ljava/lang/Throwable;)V

org.apache.jsp.manager_005findex_jsp._jspService(manager_005findex_jsp.java:84)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)

javax.servlet.http.HttpServlet.service(HttpServlet.java:868)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)

javax.servlet.http.HttpServlet.service(HttpServle



版权声明:本文为china2wto原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。