• Register
0 votes
118 views

Problem :

I am trying to import my project that I and my co-worker have been working on.. and keep getting below error after I select—the "import" then select "import existing project" then click archive file, and then I click on next, and below error comes up:

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

7 5 2
3,870 points

2 Answers

0 votes

Solution :

You need to uncheck the "copy projects into workspace" checkbox, and after that click "refresh" button, you will be able to import your project.

OR

In my case, I just copied one of my projects (say 'Project1') from a workspace and pasted it to a same workspace. After that I modified a name of a pasted project (say to 'Project2'). I could not see it in a repository.

A main reason was .project file from a new project still had a: <name>Project1</name> instead of <name>Project2</name>.

So, I did below things in order to get my issue fixed:

  1. Cut and paste my Project2 outside my workspace
  1. Changed my .project file to have <name>Project2</name>
  1. Tried importing my Project2 again.

It simply worked for me.

OR

Maybe you get a same project name in the '.project' file, just check it again, if yes, then simply rename another name. and import again.

9 7 4
38,600 points
0 votes

There are many reasons for this error, but we will discuss some of them.

This error can occur, when the wizard tries to import, but the Finish button is disabled and the project to be imported is disabled under Projects. Moreover, the wizard will display an error message;

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

Reasons:

The project already exists in the project explorer. The result will be it is not necessary to import the project.

The project does not exist in the project explorer but it exists on the disk-like in the workspace. This is because the importing from an archive file is not possible.

Solutions

  • Close the wizard;

Or

  • In the wizard, select option Select root directory.
  • Uncheck the option Copy projects into workspace.
  • Then type in the full path of the workspace beside the Select root directory. The result will be;
  • “Projects lists the projects existing in the workspace. Projects not existing in the project explorer are enabled”.
  • Select the project you want to import and click on the finish button.

I hope this will help to solve your problem.

 

11 5 1
3,890 points

Related questions

0 votes
1 answer 215 views
215 views
Problem : I have facing an issue with my C# PayTrace Gateway. My code was working fine until they turned off SSL3 due to the Poodle Exploit. When tried running my code I am getting the following message: The remote server has forcefully closed the connection. ... The client and server cannot communicate, because they do not possess a common algorithm. Any clue on error messages which I am facing?
asked Nov 29, 2019 alecxe 7.5k points
0 votes
1 answer 10 views
0 votes
1 answer 2.5K views
2.5K views
Problem : I need to build the Spring-Boot *.war with maven, but I keep facing below error: [WARNING] The requested profile "pom.xml" could not be activated because it does not exist. After completely running the mvn: clean. After the success my ... : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project webconsultas: Fatal error compiling
asked Dec 24, 2019 alecxe 7.5k points
0 votes
1 answer 939 views
939 views
Problem : When attempting to start the servers, Apache fails to start, and MAMP claims that my port ([::]:8888) is already in the use. I have tried virtually every way I know of determining what the process is using that port (as well as many of other solutions ... what(if anything) is really using my port, or somehow convince the MAMP that my port is not actually in use. Any suggestions on this?
asked Jan 17 jwilliam 3.9k points