The project was not built since its build path is incomplete. Cannot find the class file for java.l
来源:互联网 发布:2017mac mini会更新吗 编辑:程序博客网 时间:2024/06/05 02:25
今天早上遇到The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build pat then try building this project The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files。我试了百度上面的很多方法,都不行。例如:
(1)
1. 进入window / preferences / java / Installed JREs 1)按Add 2)输入JRE Name, 例JDK1.5.0.09 3)JRE home directory, 选择安装的路径 4)按OK 2. 进入Project / properties / Java Bulid Path 1)Add library 2)选JRE System Library后按Next 。。。。结果不行。
(2)
在Eclipse菜单的File=>New=>Project选择Android=>Android Project 这一步时,选择Create project from existing source选项,这样设置Location为你要导入Android项目的路径即可。特别是这个答案,还有好多人转载。我都想不通,你们是怎么解决的。你们应该都没有遇到过吧,遇到过就不可能转载。因为没有用。
(3)
Either try converting the project by right-clicking, "Convert To", "Faceted Project", and select the appropriate Java EE configurations for your use case or create a new project with a Java EE nature and copy your code there.
(4)
还有一个就是将V7包下面的V4来覆盖本工程的V4,结果还是不行。
以上的答案都不行,接下来就说说的的解决方案。这个问题的意思是:找不到Object类,找不到Object类。也就是没有把.jar包引入项目中。
详细的解决方案是:进入项目-->右键-->Properties-->Java Build Path -->Libraries -->Add Library -->JRE System Library。
就OK了。
0 1
- The project was not built since its build path is incomplete. Cannot find the class file for java.l
- The project was not built since its build path is incomplete. Cannot find the class file for java.la
- The project was not built since its build path is incomplete. Cannot find the class file for java.la
- The project was not built since its build path is incomplete. Cannot find the class file for java.la
- The project was not built since its build path is incomplete. Cannot find the class file for java.la
- The project was not built since its build path is incomplete. Cannot find the class file for...
- The project was not built since its build path is incomplete. Cannot find the class file for javax.s
- 错误提示: The project was not built since its build path is incomplete. Cannot find the class file for j
- The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build pat
- The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build pat
- Eclipse错误提示:The project was not built since its build path is incomplete. Cannot find the class file
- 解决The project was not built since its build path is incomplete. Cannot find the class file的问题
- 解决maven工程中出现The project was not built since its build path is incomplete. Cannot find the class file
- The project was not built since its build path is incomplete. Can not find
- eclispe android导入工程出现The project was not built since its build path is incomplete. Cannot find...
- The project was not built since its build path is incomplete(错误处理方法)
- The project was not built since its build path is incomplete解决方法
- The project was not built since its build path is incomplete.
- [LeedCode OJ]#20 Valid Parentheses
- 黑马程序员_反射与枚举
- file(),file_get_contents(),fopen()->fread()->fclose(),fgets(),fgetc()
- quartz (java定时任务实现事例)
- C++ 入门教程(二) 第一个C++程序:Hello World
- The project was not built since its build path is incomplete. Cannot find the class file for java.l
- Android Launcher分析和修改1——Launcher默认界面配置(default_workspace)
- base64编码和解码
- 线程同步之信号量
- C++ STL
- 求两个整数的平均值
- [LeedCode OJ]#26 Remove Duplicates from Sorted Array
- 本地调试,ie 谷歌浏览器都正常,但是将网站部署到服务器上发现ie内核css样式出现问题
- WPF 自定义文本列表