具体报错如下
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project tomcat7-maven-plugin: Fatal error compiling: tools.jar not found: D:\IntelliJ_IDEA_2019.1.2\jre64..\lib\tools.jar -> [Help 1]
- 问题分析原因:未设置Maven的JDK编译环境