`

The project was not built since its build path is incomplete

阅读更多

错误提示: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

今天在eclipse3.2+myeclipse5.1+tomcat5.5重新部署时出了这问题.搞了很久才找到原因.解决办法写出来分享:

出现以上错误的原因是居然是装jdk5时了多装了个jre。本来Eclipse在建立项目时,会自动参照你的jre路径,但多个版本就没办法加载了。 
解决办法:
1.
 进入window \ preferences \ java \ Installed JREs 
1)
Add 
2)
输入JRE Name, 例JDK 1.5.0.09
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... 

分享到:
评论

相关推荐

    spring-tx-4.0.2.RELEASE.jar

    项目使用了spring-hibernate集成...The project was not built since its build path is incomplete. Cannot find the class file for org.springframework.dao.support 这时有可能是还缺少一个spring-tx-RELEASE.jar包

    解决docker返回WSL 2 installation is incomplete.

    标题 "解决docker返回WSL 2 installation is incomplete." 指出的问题是在尝试使用Docker时遇到了关于WSL 2(Windows Subsystem for Linux 2)安装不完整的情况。这通常意味着Docker需要一个完整的WSL 2环境才能正常...

    Senfore_DragDrop_v4.1

    The define *must* be made in the project options. It is not sufficient to #define it in the source. If you manage to compile with C++ Builder (any version), I would very much like to know about it...

    VclZip pro v3.10.1

    This will be fired each time a file matches as the file list is being built while recursing directories. Added the EncryptBeforeCompress boolean property. The default for this property is False and ...

    Maximum Likelihood from Incomplete Data via the EM Algorithm.pdf

    《Maximum Likelihood from Incomplete Data via the EM Algorithm》是一篇由A.P. Dempster、N.M. Laird和D.B. Rubin发表于1977年的经典论文,该论文首次系统地介绍了EM算法,并详细探讨了其在处理不完整数据时的...

    Maximum Likelihood from Incomplete Data via the EM Algorithm

    《Maximum Likelihood from Incomplete Data via the EM Algorithm》是一篇由A. P. Dempster、N. M. Laird和D. B. Rubin在1977年发表的重要论文,该论文首次系统地介绍了EM算法(Expectation-Maximization algorithm...

    html2canvas

    The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information ...

    acpi控制笔记本风扇转速

    exclusion and the interrupt level indication flag is not needed. Fixed a problem with the Global Lock where the lock could appear to be obtained before it is actually obtained. The global lock ...

    微软内部资料-SQL性能优化3

    If the class is not confident in their understanding, review appendix A04_Locking and its accompanying PowerPoint® file. Transactions in SQL Server provide the ACID properties: Atomicity A ...

    C安全编码标准(实现C安全编程的权威指南)__...

    This project was initiated following the 2006 Berlin meeting of WG14 to produce a securecoding standard based on the C99 standard. Although this is an incomplete work, we would greatlyappreciate your...

    Clever Internet Suite (SRC) v9.1.0.0

    With SMTP relay, a mail message may pass through a number of intermediate relay or gateway hosts on its path from sender to recipient. HTML Parser - parse HTML Tags: links, images, tables, meta tags ...

    C安全编码标准-CERT C Programming Language Secure Coding Standard

    This project was initiated following the 2006 Berlin meeting of WG14 to produce a secure coding standard based on the C99 standard. Although this is an incomplete work, we would greatly appreciate ...

    计算机网络英文题库(附答案)chapter5.pdf

    4. One incorrect statement among the following is C) A datagram must be handled by the same link-layer protocols on the different links in the path. In reality, different links may use different link-...

    C#上位机S7.Net与PLC通信

    在IT行业中,上位机与下位机的通信是自动化控制领域的重要环节,尤其是在工业生产自动化系统中。本文将深入探讨“C#上位机S7.Net与PLC通信”这一主题,帮助开发者理解如何利用C#编程语言,结合西门子的S7.NET库,...

    Recover4all Professional

    1.9 "Authorized End User" means every individual who is not registered by Licensor but who is allowed to use the Registered Software in accordance with the terms and conditions set forth in this ...

    Practical+Python+AI+Projects-Apress(2018).pdf

    constraints) one path that minimizes the time it takes to get there (the objective). Objectives are always quantities we want to maximize or minimize (time, distance, money, surface area, etc.), ...

    eac3to V3.17

    * fixed: sometimes "The last DTS frame is incomplete" was a false alarm * fixed: mkvtoolnix version check didn't work, anymore * fixed: errors were meant to be output to stderr, but they weren't * ...

    scikit learn Machine Learning Simplified -2017.pdf

    the data is often messy, incomplete, or not correct in some way. Therefore, we spend the first chapter talking about strategies for dealing with bad data and ways to deal with other problems that ...

Global site tag (gtag.js) - Google Analytics