Some projects cannot be imported because they already exist in the workspace

时间:2023-01-17 15:08:23

Eclipse导入项目的时候提示Some projects cannot be imported because they already exist in the workspace

我看了一个下我的工程的名字,在eclipse的workspace目录下的D:\WorkSpace\eclipse\.metadata\.plugins\org.eclipse.core.resources\.projects

并没有找到同名的工程的文件夹。我的工程的名字叫TS_Servicing

Some projects cannot be imported because they already exist in the workspace

 

原来,eclipse判断一个工程是否重复,是通过工程目录下的.project文件来决定的。里面有个name属性,原来是name重复了就算重复了

Some projects cannot be imported because they already exist in the workspace