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

前端 未结 30 2746
予麋鹿
予麋鹿 2020-11-28 01:36

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

30条回答
  •  孤街浪徒
    2020-11-28 02:20

    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: Project1 instead of Project2.

    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 Project2
    3. Try importing Project2 again.

    It worked for me.

提交回复
热议问题