关于向eclipse中导入项目时“Some projects cannot be imported because they already exist in the workspace”问题分析

参考链接:https://www.cnblogs.com/zhuolove/p/9608046.html

19年三月我在向eclipse中导入新的Javaweb项目出现过这样的问题

关于向eclipse中导入项目时“Some projects cannot be imported because they already exist in the workspace”问题分析

提示非常明显:就是说我的工作区已经存在了一个名为MyjspProject的项目(确实有一个);因此我把项目名城更改为tk

 

关于向eclipse中导入项目时“Some projects cannot be imported because they already exist in the workspace”问题分析

但是很遗憾问题依然没有解决,这让我百思不得其解了,明明项目名字已经更改过了,为何还是会显示图一的错误,后来我发现,要被导入的项目中有一个.project的文件

关于向eclipse中导入项目时“Some projects cannot be imported because they already exist in the workspace”问题分析

打开后:

关于向eclipse中导入项目时“Some projects cannot be imported because they already exist in the workspace”问题分析

原来是因为.project里面的配置文件名字依然是MyjspProject,这正是我工作区里面已存在的项目名字,因此通过再次更改这个配置文件的名字就可以了,问题解决