IDEA自带Maven Projects窗口打包项目报错

具体报错如下

[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编译环境

请移步查看 IDEA设置Maven的JDK编译环境

推荐阅读更多精彩内容