Eclipse does not compile the project phenomenon

Source: Internet
Author: User

The following actions will resolve most of the situation:
Open Project->build automatically try not to, or do not compile.
Open Project--build automatically another clean will probably compile and the results will not work.
Eclipse is automatically compiled by default. Even if you cancel the automatic compilation, the manual build project will not compile.

There are three general reasons why this happens:
1. If the project led to an unused jar package, and the package is deleted by you, it will appear without error, but how to compile the case of the class file, you can delete all the packages, and then one by one to introduce (need), do not bring all the package all at once, useless may cause undesirable consequences.
2. Want to delete a class file regeneration, after deleting the class file, but the folder under the Classes directory is opened by other programs, such as Total Commander. At this point the compilation will not pass, under problems may prompt "Con ' t delete classes ...". Turn off other programs to recompile.

3. There is also a situation where the JRE System Library is removed and re-imported to compile. But what causes it is unclear. (I have met several times)



Eclipse does not compile the project phenomenon

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.