Eclipse IDE started and broken - cannot find any Java classes

大城市里の小女人 提交于 2019-12-11 20:22:02

问题


I haven't started my Eclipse Java EE Kepler in a while, and now it ended up with the following error on every project in my workspace:

http://i62.tinypic.com/30rsfgm.png

I'm not sure what happened here.


回答1:


Due to a recent Java update, the JRE settings for the projects in Eclipse got unbound.

To fix this, one must set the current JRE on their computer as the JRE for the project library on the build path (This can also be found by going to the Problems tab, right clicking the error "unbound classpath container", then press Quick Fix):

http://i62.tinypic.com/5a438i.png

Then click on the JRE System Library, edit, and set it as an Installed JRE:

http://i58.tinypic.com/14vntqp.png



来源:https://stackoverflow.com/questions/25891582/eclipse-ide-started-and-broken-cannot-find-any-java-classes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!