码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-10-12 12:27:44      阅读:556      评论:0      收藏:0      [点我收藏+]

标签:

以前用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] 

解决:

  1.   将设置中jre位置改成jdk。
  2. 技术分享
  3. 技术分享
  4.   右键maven项目,选择maven->update p....
  5. 重新run

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

标签:

原文地址:http://www.cnblogs.com/woshimrf/p/4871204.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!