eclipse A .project file already exists in directory

时间:2023-01-24 16:20:49

从GitHub上导入项目时突然无法导入,报错如下:

eclipse A .project file already exists in directory

eclipse A .project file already exists in directory


然后我把工作空间中的整个项目全部删掉,重新导入,还是存在这种问题


Stack Overflow上的解决方法如下:

You need to open up the Project Explorer view (it may already be open) and delete the project from within there.

然而,我打开Project Explorer 是没有这个项目的。。。

最终解决方案:

从git导入general project后,到工作空间的导入项目目录下找到.project文件并干掉它

eclipse A .project file already exists in directory

 然后在eclipse点back,接着点next,导入成功

eclipse A .project file already exists in directory