tomcat7的server.xml中这个删除,就可以作为tomcat8的配置了<Listener className="org.apache.catalina.core.JasperListener" />