Advertisement
Advertisement


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


Question

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"

2012/05/06
1
294
5/6/2012 12:38:47 AM


go to .project file in your project and change the name of the project in name tag

2012/03/24

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.

2012/04/25

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.

2015/02/20

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.

2016/10/14

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 <name>Project2</name>.

So, I did following things in order to get the issue fixed:

  1. Cut and paste Project2 outside the workspace
  2. Change .project file to have <name>Project2</name>
  3. Try importing Project2 again.

It worked for me.

2014/09/28

Source: https://stackoverflow.com/questions/6715403
Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Email: [email protected]