欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

eclipse配置了maven,项目报错

发布时间:2025/6/17 编程问答 39 豆豆
生活随笔 收集整理的这篇文章主要介绍了 eclipse配置了maven,项目报错 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

下载了百度的eclipse,导入springmvc_demo项目,eclipse报错

“A full JDK (not just JRE) is required. Check the JRE system library in the project properties page.”

需要一下操作:

1)设置系统安装的JDK目录set your JDK as a default Java environment in eclipse (default installed JRE)

Open eclipse. Click on ‘Window’ -> ‘Preferences’ -> ‘Java’ -> ‘Installed JREs’.

If you can’t find any JDK on the list -> click ‘Add’ -> ‘Standard VM’ -> set all paths and click ‘Finish’.

After that – check this JDK on the list of installed JREs and click ‘OK’.

(2)增加JDK路径到eclipse.ini文件中add path to your SDK in eclipse.ini

转载于:https://www.cnblogs.com/chenyao/archive/2013/04/26/3044958.html

总结

以上是生活随笔为你收集整理的eclipse配置了maven,项目报错的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。