No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
以前用MyEclipse,现在用eclipse配置maven后,运行run install.报错:
1 [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 2 [ERROR] -> [Help 1] 3 [ERROR] 4 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 5 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 6 [ERROR]
解决:
- 将设置中jre位置改成jdk。
- 右键maven项目,选择maven->update p....
- 重新run
关注我的公众号