IDEA:The method getJspApplicationContext(ServletContext) is undefined for ...

一、异常提示:The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

二、导致的原因:Tomcat 中的 servlet-api.jar、jsp-api.jar 和项目中的这些jar包版本冲突,容器不知道该使用哪个!

三、解决办法:不导入IntelliJ IDEA自带的jar包,导入tomcat中的jar包

猜你喜欢

转载自meigesir.iteye.com/blog/1867046