您的位置:首页 > 编程语言 > Java开发

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

2015-10-12 11:47 525 查看
以前用MyEclipse,现在用eclipse配置maven后,运行run install.报错:

[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]


解决:

  将设置中jre位置改成jdk。





  右键maven项目,选择maven->update p....

重新run
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: