Perhaps you are running on a JRE rather than a JDK?
生活随笔
收集整理的這篇文章主要介紹了
Perhaps you are running on a JRE rather than a JDK?
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
出錯(cuò)信息
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project HerPeisWechat: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException?
這一塊指向jdk就行了。原先我默認(rèn)的指向jre
?
轉(zhuǎn)載于:https://www.cnblogs.com/yanan7890/p/9528776.html
總結(jié)
以上是生活随笔為你收集整理的Perhaps you are running on a JRE rather than a JDK?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 图解HTTP学习记录(一)
- 下一篇: UE3客户端加入DS过程