码迷,mamicode.com
首页 > 编程语言 > 详细

eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

时间:2016-09-29 01:31:19      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:

问题:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

大概意思就是.class文件引用错误, 联想一下 编译出了问题, JRE问题.

技术分享

 

解决办法:
先在Java Bulid Path中把所有的JRE先remove掉,然后重新引入JRE即可。( 右键工程 > Build Path > Configure Build Path > )

 

eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

标签:

原文地址:http://www.cnblogs.com/yadongliang/p/5918228.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!