The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
运行eclipse时,出现这个bug,无法编译。
按照:
project->properties->Java Bulid Path 将原有的jdk删除
然后Java Build Path ——-> Libraries——>Add Libraries——->JRE System Library 选择MyEclipse自带的jdk或是选择自己适合的包即可。
还没有评论,来说两句吧...