eclipse为什么出现the type java.lang.Object cannot be resolved
来源:互联网 发布:推荐算法的java实现 编辑:程序博客网 时间:2024/05/20 07:37
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...
http://blog.sina.com.cn/s/blog_4c6f2204010007is.html
- eclipse为什么出现the type java.lang.Object cannot be resolved
- eclipse为什么出现the type java.lang.Object cannot be resolved
- eclipse错误:The type java.lang.Object cannot be resolved.
- The type java.lang.Object cannot be resolved解决方法
- The type java.lang.Object cannot be resolved
- The type java.lang.Object/String cannot be resolved
- The type java.lang.Object cannot be resolved解决方法
- The type java.lang.Object cannot be resolved解决方法
- 【典型错误】The type java.lang.Object cannot be resolved.
- The type java.lang.Object cannot be resolved
- The type java.lang.Object cannot be resolved 解决办法
- The type java.lang.Object cannot be resolved
- The type java.lang.Object cannot be resolved解决方法
- The type java.lang.Object cannot be resolved
- 【典型错误】The type java.lang.Object cannot be resolved.
- The type java.lang.Object cannot be resolved.
- BUG-The type java.lang.Object cannot be resolved.
- The type java.lang.Object cannot be resolved解决方法
- 结构体与类的区别
- 常用数据字段区别
- Android开发:TextView添加超链接的简便方法
- ASP.NET MVC 入门 5 View与ViewData(接着上一篇)
- c#超时锁定
- eclipse为什么出现the type java.lang.Object cannot be resolved
- POI生成Excel
- ios, android 应用程序不允许锁屏
- Android开发如何在4.0及以上系统中自定义TitleBar
- ACE 容器之一 ACE_Array 的使用
- 安装10.2.0.5升级包
- 十问中国足球
- Android 吸入动画效果详解
- 轻量级前端MVVM框架avalon - 整体架构