The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
2017-03-19 10:45
661 查看
在用eclipse开发中,有时候需要导入别人的项目进行学习研究偶尔会出现代码无端端显示一大推错误,甚至连包名都出错的情况,这是后把鼠标移动到包名,系统就会弹出The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files的提示
原因是jdk出错。
解决方法是:更换一个jdk,操作步骤:project->properties->Java Bulid Path 将原有的jdk删除,然后Java Build Path -----> Libraries---->Add Libraries----->JRE System Library 选择MyEclipse自带的jdk或是选择自己适合的包即可。
本文出自 “11828641” 博客,请务必保留此出处http://11838641.blog.51cto.com/11828641/1858338
原因是jdk出错。
解决方法是:更换一个jdk,操作步骤:project->properties->Java Bulid Path 将原有的jdk删除,然后Java Build Path -----> Libraries---->Add Libraries----->JRE System Library 选择MyEclipse自带的jdk或是选择自己适合的包即可。
本文出自 “11828641” 博客,请务必保留此出处http://11838641.blog.51cto.com/11828641/1858338
相关文章推荐
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class files。
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- Eclipse error: The type java.lang.Object cannot be resolved. It is indirectly referenced from the required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required.class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- Error!]the type java.lang.object cannot be resolved. it is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files