Eclipse 构建项目报错:The project was not built due to "xxx(项目名称) dosen't exists"

版权声明:yuexiaowei https://blog.csdn.net/u012514808/article/details/88652078

不知道不小心改动项目的哪个文件,Eclipse构建项目报错:

The project was not built due to "xxx(项目名称) dosen't exists",Fix the problem ,then try refresh this project  and building it since it may be inconsist

如果出现这个错误,倒是不影响项目运行,只是项目会有红叉,看着很别扭,并且java类中,想按住Ctrl键进入某个方法,但是进不去,所以很不方便,不得不解决这个问题,跟别人的项目对比了半天,发现是下面这个问题导致的:

项目的目录里的.project文件中少了一个配置

猜你喜欢

转载自blog.csdn.net/u012514808/article/details/88652078