The Eclipse project always hints at the Red fork, but doesn't see what went wrong! The project is not built due to ' Could not delete

Source: Internet
Author: User

Recently, when compiling Web project, the page always prompts that the XX method is not defined as the XX class. But obviously it's all right.

And there was a red fork in the project, but the program didn't see any errors. Such as:

Workaround:

1. Open the problem window first to see unexpected errors.

Window-show view-other-found problem. Then you will see an error. As follows:

The project was not built due to "Could not delete '/build/com '.". Fix the problem, then try refreshing this project and building it since it could be inconsistent deyweb Unknown Java proble M

2. Open the Project Engineering catalogue. There's a build directory inside. There will be several class files under build. Then delete all the content under build.

OK, now it's time to compile the Web app properly.


Get!


The

Eclipse project always prompts the Red fork, but does not see what went wrong! The project is not built due to ' Could not delete

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.