HTTP Status 500 -
--------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:268)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
root cause
java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
org.apache.jsp.index_jsp._jspInit(index_jsp.java:26)
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:164)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.33 logs.
------解决方案--------------------
index.jsp第26行有错,调用了不存在的方法
把这个index.jsp代码贴出来看看
------解决方案--------------------
------解决方案--------------------
嗨,搜德斯
------解决方案--------------------
index.jsp中方法的调用错误,或许servlet里面没有这个方法
------解决方案--------------------
没有定义方法 检查下有什么方法没写
------解决方案--------------------
调用了不存在的方法,lz好好检查下
------解决方案--------------------
方法不对啊,你可以看看这个方法是不是有问题。
java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext
------解决方案--------------------
java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext
方法不存在
------解决方案--------------------
应该用反编译软件,反编__index.class文件,看看 26行是什么
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/search?q=317