解决方法:Cannot find the class file for java.lang.Object错误!
今天下载了一个spring版的宠物店,导入Eclipse出现错误:Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project jpetstore-project Unknown Java Problem
,经过网上查找资料及实践认证,以下方法可以解决该问题:
点击project----->propertys------>Java Build Path -----> Libraries---->Add Libraries----->
JRE System Library------>选第一个workspace default jre-------->finish,这样就OK了!
希望对别的童鞋有帮助,O(∩_∩)O谢谢!