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

来源:互联网 发布:java判断法定节假日 编辑:程序博客网 时间:2024/05/23 13:27

今天第一次用maven用eclipse运行compile的时候报No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK这个错误,
解决方法:进入eclipse的Window->Preferences->java点击add添加jdk然后Apply最后OK就可以运行了

0 0
原创粉丝点击