Hi各位大神,我搭建完成了tomcat的环境,并且把我程序员写的项目部署上去了。
但是部署完成之后发现项目运行正常 但是tomcat的manager项目的页面无法访问了,
烦请各位帮忙看一下~谢谢
网页报错如下:
HTTP Status 500 -
type Exception report
message
description
The server encountered an internal error () that prevented it from fulfilling this request.
exceptionjavax.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:722)
root causejava.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;org.apache.jasper.compiler.Validator$ValidateVisitor.<init>(Validator.java:514)org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1795)org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:217)org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note
The full stack trace of the root cause is available in the Apache Tomcat/7.0.27 logs.
Apache Tomcat/7.0.27
之前怀疑是jar包冲突问题,查阅部分相关文档后尝试删除tomcat/lib/jasper-compile.jar可以但是发现manager项目可以正常访问了,但是之前部署的网站项目无法访问了。
不知道是哪一步出现了故障