在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
来源:互联网 发布:java获取自己程序名字 编辑:程序博客网 时间:2024/06/13 18:40
摘自:http://www.blogjava.net/zJun/archive/2007/10/16/153374.html
在Eclipse中遇到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
出現以上訊息的原因是因為你裝了多個版本的jre或jdk的關係。本來Eclipse在建立專案時,會自動參照你的jre路徑,但多個版本就沒辦法了。
你只能手動建立…
1. 進入window\preferences\java\Installed JREs
1)按Add
2)輸入JRE Name, 例JDK1.5.0.03
3)JRE home directory, 選擇安裝的路徑
4)按OK
2. 進入Project\properties\Java Bulid Path
1)Add library
2)選JRE System Library後按Next
3)選workplace default JRE後按finish...
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- [Eclipse] The type XXX cannot be resolved. It is indirectly referenced from required .class files错误.
- [Eclipse] The type XXX cannot be resolved. It is indirectly referenced from required .class files错误.
- [Eclipse] 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错误
- 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
- [Eclipse报错] The type XXX cannot be resolved. It is indirectly referenced from required .class files
- the type xxx cannot be resoved,It is indirectly referenced from required .class files错误.....
- The type java.xxx.Xxx cannot be resolved. It is indirectly referenced from required.class
- rcp(插件开发)The type XXX 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
- 求第1500个只有2,3,5因子的数
- UVA 10916 - Factstone Benchmark
- jQuery操作input
- Android 访问不受信任的HTTPS,无需证书
- setCharacterEncoding
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- 最大子段和 C语言源码
- Objective-C最基础语法之基础类型
- 使用spring发送邮件
- FL2440无操作系统应用程序编写测试012——DMA
- Flex学习笔记_03 MXML语言简介
- Silverlight应用程序中添加WCF服务的问题(整理)
- 当数据库变慢时的解决方法 详细出处参考
- Android深入浅出系列之实例应用—简单的手指拖动图片,图片滑来滑去显示应用Gallery和BaseAdapter以及ImageView的使用