其实提示已经给你一个解决建议了:No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path.就是手动把$java_HOME/lib/tools.jar拷到tomcat服务器的common/lib下,然后tomcat服务器重新启动。如果想更改java的编译器就检查其安装路径
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.就是手动把$java_HOME/lib/tools.jar拷到tomcat服务器的common/lib下,然后tomcat服务器重新启动。如果想更改java的编译器就检查其安装路径