maven build启动服务报错No compiler is provided in this environment. Perhaps you are running on a JRE

来源:互联网 发布:国外优化软件 编辑:程序博客网 时间:2024/05/16 19:45

报错

[ERROR] Failed to execute goalorg.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) onproject tao_manager_web: Compilation failure

[ERROR] No compiler is provided inthis environment. Perhaps you are running on a JRE rather than a JDK?

[ERROR] -> [Help 1]

[ERROR]

[ERROR] To see the full stack traceof the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -Xswitch to enable full debug logging.

[ERROR]

[ERROR] For more information aboutthe errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

解决



添加的是jdk的路径,之前添加错了路径



阅读全文
0 0
原创粉丝点击