eclipse: the project cannot be built until its prerequisite 问题解决

在确保Eclipse项目文件没有报错的地方之后,项目名上还有红x,这时可以查看Error log 或者 problem,看下问题是什么
eclipse: the project cannot be built until its prerequisite 问题解决
文章图片

看到 Error log 报错:

the project cannot be built until its prerequisite... rebuild is recommonded

【eclipse: the project cannot be built until its prerequisite 问题解决】这个时候选择
1. Project -> Close Project 2. Project -> Open Project 3. Project -> Clean

    推荐阅读