解决The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

原因:版本冲突

javax.servlet
javax.servlet-api
3.1.0
provided//添加provided


javax.servlet
jsp-api
2.0
provided

解决The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory