首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

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

2012-10-30 
The type java.lang.Object cannot be resolved解决方法今天在用Eclipse导入其它项目时,一直出现这个问题,

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

今天在用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 )
1 楼 tiyi 2009-05-17   过一段时间就会冒这个错。。不知道eclipse在搞什么名堂。。

热点排行