HTTP Status 401 - Servlet.service() for servlet jsp threw exception

来源:互联网 发布:光棍节 知乎 编辑:程序博客网 时间:2024/05/17 04:37

在myeclipse tomcat无法启动,无法访问tomcat服务器,于是单独启动tomcat。
另报异常:
java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;

解决方法:项目目录下的web/lib里面的jasper-compiler.jar & jasper-runtime.jar包有冲突,把他们删除就行了。

原因有待进一步研究者两个文件。