maven出现The server encountered an internal error () that prevented it from fulfilling this request.
1.出现上述问题描述的原因有很多,我这里的具体原因描述是:org.apache.jasper.JasperException: Unable to compile class for JSP2.在网上查找出现该异常的原因,发现是我的jdk和IDEA的tomcat插件不匹配,我用的是Goals: tomcat:run,这样会导致一个问题:尽管我配置的是tomcat 9.0,但默认使用tomcat6,而tomcat6不支持jdk1.8版本,这里就需要添加tomcat7-maven-plugin的插件.