java.lang.AbstractMethodError: 的一种错误可能

来源:互联网 发布:网上点餐软件 编辑:程序博客网 时间:2024/05/18 02:06

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:348)javax.servlet.http.HttpServlet.service(HttpServlet.java:731)org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)com.servlet.Room.doPost(Room.java:59)javax.servlet.http.HttpServlet.service(HttpServlet.java:650)javax.servlet.http.HttpServlet.service(HttpServlet.java:731)org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

root cause

java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;org.apache.jasper.compiler.Validator$ValidateVisitor.<init>(Validator.java:515)org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1845)org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:218)org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)javax.servlet.http.HttpServlet.service(HttpServlet.java:731)org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)com.servlet.Room.doPost(Room.java:59)javax.servlet.http.HttpServlet.service(HttpServlet.java:650)javax.servlet.http.HttpServlet.service(HttpServlet.java:731)org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
遇到这个错误,谷歌百度搜索一下,有好几种方案,都不行,我这儿再添一种错误的可能和解决方案:
错误原因:不是这个项目的问题,其实是其他同样在webapps下的项目出现来这个问题,所有要从其他地方来着手

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.62 logs.

0 0
原创粉丝点击