教程集 www.jiaochengji.com
教程集 >  脚本编程  >  java  >  正文 The type XXX cannot be resolved. It is indirectly referenced from required .class files错误

The type XXX cannot be resolved. It is indirectly referenced from required .class files错误

发布时间:2017-12-02   编辑:jiaochengji.com
教程集为您提供The type XXX cannot be resolved. It is indirectly referenced from required .class files错误等资源,欢迎您收藏本站,我们将为您提供最新的The type XXX cannot be resolved. It is indirectly referenced from required .class files错误资源

遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误.....,查找的解决办法如下:
一: 错误提示: It is indirectly referenced from required .class file 错误的解决

原因:你正要使用的类调用了另一个类,而这个类又调用了其他类,这种关系可能会有好多层。而在这个调用的过程中,某个类所在的包的缺失就会造成以上那个错误。

解决方法:导入缺失的包

二:
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

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

出?以上?息的原因是因?槟阊b了多??版本的jre或jdk的??S。本??clipse在建立?0?r,????⒄漳愕?re路?剑????版本就?]?法了。
你只能手?咏??hellip;
1. ?入windowpreferencesjavaInstalled JREs
1)按Add
2)?入JRE Name, 例JDK1.5.0.03
3)JRE home directory, ??癜惭b的路?
4)按OK
2. ?入ProjectpropertiesJava Bulid Path
1)Add library
2)?JRE System Library後按Next
3)?workplace default JRE後按finish...

您可能感兴趣的文章:
The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
A Study of WebRTC Security
Golang map并发 读写锁
centos下mysql 5.6.13源码安装方法
php403错误
TIJ swot_JAVA的初学者(四)
php实例:经典email验证类
Parse Error: syntax error, unexpected $end 错误的解决方法
PHP Parse Error: syntax error, unexpected $end 错误解决办法
Go语言---函数返回局部变量地址

[关闭]
~ ~