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

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.