设个错误是因为项目中包含jsp-api-2.0.jar,删除该包就ok
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 22 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory