Eclipse Some projects cannot be imported because they already exist in the workspace!
Refers to a project where the project name already exists in the workspace.
Method One:
Modify Project Name: Right-click---refactor---rename or F2 modify the project name: Right-click---refactor---rename or F2
Method Two:
Locate the. project file under the project folder, and modify the <name>projectName</name> projectName inside
Method Three:
Locate the workspace under the \workspace\.metadata\.plugins\org.eclipse.core.resources\.projects folder, and delete the folder with the same name.
When deleting items, tick Delete project contents on disk (cannot be undone)
At the same time when you want to import related projects instead of a real project (missing. Project and. classpath files) When the import is unsuccessful, you can copy the project and. classpath files from other projects and modify the. Project name to import.
Eclipse Some projects cannot be imported because they already exist in the workspace