Intellij IDEA Mave打jar报错:No compiler is provided in this environment.

现象:[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

Intellij IDEA Mave打jar报错:No compiler is provided in this environment._第1张图片

解决方案:

1、查看本地的JAVA_HOME系统环境变量是否配置正确

Intellij IDEA Mave打jar报错:No compiler is provided in this environment._第2张图片

2、设置JAVA_HOME,重新编译、打包

Intellij IDEA Mave打jar报错:No compiler is provided in this environment._第3张图片

你可能感兴趣的:(软件操作教程以及问题修复,运维)