java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext 10
之前项目一直可以正常打开,但是现在tomcat启动没问题,reload也没问题,但就是在地址栏里访问的时候出现如下异常:typeExceptionreportmessag...
之前项目一直可以正常打开,但是现在tomcat启动没问题,reload也没问题,但就是在地址栏里访问的时候出现如下异常:
type Exception report
message java.lang.AbstractMethodError:
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
description The server encountered an internal error that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
root cause
java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
……
note The full stack trace of the root cause is available in the
Apache Tomcat/7.0.47 logs.
不要说“项目包里引入了:jasper-compiler.jar jasper-runtime.jar jsp-2.1.4.jar 和tomcat中lib下面的包 引起了冲突,去掉即可”,我的项目包里没有这几个文件。求解答! 展开
type Exception report
message java.lang.AbstractMethodError:
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
description The server encountered an internal error that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
root cause
java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
……
note The full stack trace of the root cause is available in the
Apache Tomcat/7.0.47 logs.
不要说“项目包里引入了:jasper-compiler.jar jasper-runtime.jar jsp-2.1.4.jar 和tomcat中lib下面的包 引起了冲突,去掉即可”,我的项目包里没有这几个文件。求解答! 展开
3个回答
展开全部
我用tomcat6 正常,用tomcat7会报这个错,有些人是tomcat6报错,tomcat7正常,所以和tomcat的版本可能有一定关系
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你修改过什么东西么?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
请问问题解决了吗,我遇到了相同的问题,求帮助
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询