`
yuxuguang
  • 浏览: 136930 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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

阅读更多

最近,在Eclipse中导入其他项目,总是报下面2个错误。将项目所需的jar都引入了。依然还存在这个问题。

 

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 )

 

解决办法:
1.将JRE先remove掉,然后重新引入JRE即可。(Project->properties->Java Bulid Path )

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics