现象:[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 解决方案: 1、查看本地的JAVA_HOME系统环境变量是否配置正确 2、设置JAVA_HOME,重新编译、打包