The type XXX cannot be resolved
来源:互联网 发布:安卓换ip软件 编辑:程序博客网 时间:2024/04/28 12:13
一:
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...
- The type XXX cannot be resolved
- The type XXX cannot be resolved
- xxx cannot be resolved to a type
- xxx cannot be resolved to a type
- XXX cannot be resolved to a type!
- xxx cannot be resolved to a type
- XXX cannot be resolved to a type
- The type java.xxx.Xxx cannot be resolved. It is indirectly referenced from required.class
- The import XXX cannot be resolved
- 提示The import XXX cannot be resolved
- 错误:The import XXX cannot be resolved
- The import XXX cannot be resolved
- The import XXX cannot be resolved
- The import XXX cannot be resolved.
- 解决The import XXX cannot be resolved
- 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错误.
- 彻底禁止查看网页源代码
- First step:calling
- Sql汉字转拼音全拼
- MMORPG的发展方向是大型化
- Oracle时间运算 to_char() sysdate
- The type XXX cannot be resolved
- js 横向排列数据并汇总
- [编程之美]寻找发贴水王Tango
- 常见 wap 网站地址
- j2me的CLDC局限性
- vc 修改MFC 消息循环的两种方法
- achievement
- Work achievement
- iphone 开发笔记 menu view