Java. lang. AbstractMethodError: javax. servlet. jsp. JspFactory. getJspApplicationContext (Ljavax/servlet/, servletcontext
Severe: Servlet. service () for servlet [jsp] in context with path [] threw exception [java. lang. abstractMethodError: javax. servlet. jsp. jspFactory. getJspApplicationContext (Ljavax/servlet/ServletContext;) Ljavax/servlet/jsp/JspApplicationContext;] with root cause
Java. lang. AbstractMethodError: javax. servlet. jsp. JspFactory. getJspApplicationContext (Ljavax/servlet/ServletContext;) Ljavax/servlet/jsp/JspApplicationContext;
At org. apache. jasper. compiler. Validator $ ValidateVisitor. <init> (Validator. java: 515)
At org. apache. jasper. compiler. Validator. validateexdireves VES (Validator. java: 1841)
At org. apache. jasper. compiler. Compiler. generateJava (Compiler. java: 217)
At org. apache. jasper. compiler. Compiler. compilile (Compiler. java: 373)
At org. apache. jasper. compiler. Compiler. compilile (Compiler. java: 353)
At org. apache. jasper. compiler. Compiler. compilile (Compiler. java: 340)
At org. apache. jasper. JspCompilationContext. compile (JspCompilationContext. java: 657)
At org. apache. jasper. servlet. JspServletWrapper. service (JspServletWrapper. java: 357)
At org. apache. jasper. servlet. JspServlet. serviceJspFile (JspServlet. java: 390)
At org. apache. jasper. servlet. JspServlet. service (JspServlet. java: 334)
At javax. servlet. http. HttpServlet. service (HttpServlet. java: 727)
At org. apache. catalina. core. ApplicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 303)
At org. apache. catalina. core. ApplicationFilterChain. doFilter (ApplicationFilterChain. java: 208)
At org. apache. tomcat. websocket. server. WsFilter. doFilter (WsFilter. java: 52)
At org. apache. catalina. core. ApplicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 241)
At org. apache. catalina. core. ApplicationFilterChain. doFilter (ApplicationFilterChain. java: 208)
At org. apache. catalina. core. StandardWrapperValve. invoke (StandardWrapperValve. java: 220)
At org. apache. catalina. core. StandardContextValve. invoke (StandardContextValve. java: 122)
At org. apache. catalina. core. StandardHostValve. invoke (StandardHostValve. java: 171)
At org. apache. catalina. valves. ErrorReportValve. invoke (ErrorReportValve. java: 102)
At org. apache. catalina. valves. AccessLogValve. invoke (AccessLogValve. java: 950)
At org. apache. catalina. core. StandardEngineValve. invoke (StandardEngineValve. java: 116)
At org. apache. catalina. connector. CoyoteAdapter. service (CoyoteAdapter. java: 408)
At org. apache. coyote. http11.20.acthttp11processor. process (AbstractHttp11Processor. java: 1040)
At org. apache. coyote. AbstractProtocol $ AbstractConnectionHandler. process (AbstractProtocol. java: 607)
At org.apache.tomcat.util.net. JIoEndpoint $ SocketProcessor. run (JIoEndpoint. java: 314)
At java. util. concurrent. ThreadPoolExecutor. runWorker (Unknown Source)
At java. util. concurrent. ThreadPoolExecutor $ Worker. run (Unknown Source)
At org. apache. tomcat. util. threads. TaskThread $ WrappingRunnable. run (TaskThread. java: 61)
At java. lang. Thread. run (Unknown Source)
The root cause of this error is that Tomcat 7 comes with the JAR package "jasper. jar", while Tomcat 6 does not, You Need To separately introduce"
jasper-compiler.jar jasper-runtime.jar
"Two JAR packages, so this problem came out when the Tomcat 6 project was released under Tomcat 7.
Javalangpolicactmethoderror: javaxservletjspJspFactorygetJspApplicationContext
Have you modified anything?
Help: tomcat server cannot be enabled
Solution:
1. Check the port number when tomcat is installed. It may not be 8080.
You can either reinstall tomcat and try other ports.
2.
The tomcat server can be started normally, but http: localhost: 8080 cannot be opened. The error is
HTTP Status 500-
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: 268)
Javax. servlet. http. HttpServlet. service (HttpServlet. java: 717)
Org. apache. jasper. servlet. JspServlet. service (JspServlet. java: 268)
Possible causes of this error include:
1. JAVA_HOME is not configured
2. Tomcat
3. The tomcat source file has been modified (this can be started normally, but cannot access localhost: 8080)