`
andyliuxs
  • 浏览: 138247 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

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, 例JDK1.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算法,并详细探讨了其在处理不完整数据时的...

    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 ...

    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...

    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#上位机S7.Net与PLC通信

    4. 错误处理:在进行通信操作时,应捕获可能出现的异常,如网络错误、权限问题等,并给出相应的处理策略。 5. 断开连接:在完成通信后,记得调用`Disconnect`方法断开与PLC的连接,释放资源。 在描述中提到的DEMO...

    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...

    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-...

    MySql常见错误代码

    在这篇文章中,我们将对 MySql 常见的错误代码进行解析,包括错误代码的含义、解决方法和避免错误的建议。 1016: 文件无法打开 错误代码 1016 表示文件无法打开,可能是由于文件权限不正确或文件损坏所致。解决...

    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.), ...

    inception_v3_weights_tf_dim_ordering_tf_kernels_notop

    inception_v3_weights_tf_dim_ordering_tf_kernels_notop Linux下是放在“~/.keras/models/”中 Win下则放在Python的“settings/.keras/models/”中 Windows-weights路径:C:\Users\你的用户名\.keras\models ...

Global site tag (gtag.js) - Google Analytics