商务合作:179001057@qq.com

The type java.lang.Object cannot be resolved解决方法

xiaoxiao2022-06-24  3


某平台价值19860元的编程课程资料免费领取【点我领取】


今天在用Eclipse导入其它项目时,一直出现这个问题,然后就开始找解决的方法。 1.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 2.The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files 解决办法: 1.将JRE先remove掉,然后重新引入JRE即可。 (Project->properties->Java Bulid Path->Libraries->Add Librarie 选取:Jre System Librarie )

最新回复(0)