Eclipse 提示No compiler is provided in this environment. Perhaps you are running on a JRE rather than

符号 阅读:1205 2021-03-31 21:23:33 评论:0

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

myeclipse2014 配置 maven 3.3.3 ,在myeclipse中, 点击pom.xml 文件时,报的错误,

  • 解决办法:
      1、eclipse菜单 - Window - Preferences- Java - Installed JREs 将配置的JRE定位到JDK,例如JRE home:D:\Program Files (x86)\Java\jdk1.6.0_45
      2、ALT+F5 进行 update project 。
      3、Debug or Run again.

声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

关注我们

一个IT知识分享的公众号