Some projects cannot be imported because they already exist in the workspace error in Eclipse
I am trying to import a project that me and my co-worker have been working on.. and keep getting this error after I select-- "import" then "import existing project" then click archive file, and then I click next, and this error comes up:
"Some projects cannot be imported because they already exist in the workspace"
Uncheck the "copy projects into workspace" checkbox, and then click "refresh" button, you will be able to import the project
Read more... Read less...
go to .project file in your project and change the name of the project in name tag
It has just happened to me too. Finally I realized that the project was already open in my workspace but it was not visible because of the selected working set. You have just to deselect the active working set and all opened projects will become visible.
You may have a project with same name in your workspace. Try to refresh (file->refresh) your workspace after deleting the another one with same name. A typical situation occurs when you want to re-import a deleted project.
This usually happens when you change the project directory physically without first delete in Eclipse. You can view and delete these hidden projects in the following view:
Window -> Show View -> Other -> General -> Navigator
Then simply just continue with the process of import existing project.
In my case, I copied one of the projects (say 'Project1') from the workspace and pasted it to the same workspace. After that I modified the name of the pasted project (say to 'Project2'). I could not see it in the repository.
The main reason was
.project file from the new project still had:
<name>Project1</name> instead of
So, I did following things in order to get the issue fixed:
- Cut and paste Project2 outside the workspace
.projectfile to have
- Try importing Project2 again.
It worked for me.