Eclipse replication Project thoroughly modifies project name

Source: Internet
Author: User

First, the demand

Need to do a new project, the framework or MAVEN+SSM, so the original project copy one, the operation is directly selected Zhongyuan project, CTRL + C, and then paste, this time will let you choose Workspace and give a new project name, such as, enter a new name and new workspace feel everything is normal

Second, the question

After starting the project, found that the new project name can not access, and the release of the project also with the original project shadow, such as the following interface, is not very disturbing

Third, solve the problem

The reason is obvious, we are copy of the whole project, many attributes have been brought over, below we solve this problem

3.1: Right-click Project-Properties-web Project Settings (for new project name, default or original)

3.2: Modify Web. XML (for new project name, default or original)

3.3: Modify the configuration file in the workspace (for new project name, default or original)

First modify the./project.project file in the directory root directory where the D:\workspace\KingSmall project is located, such as

Second, modify the Org.eclipse.wst.common.component file in the directory root directory where the D:\workspace\KingSmall\.settings project is located, as

After the execution, clean the new project, it is best to close the eclipse and then open, the above problems will no longer appear, according to the new project name is also accessible to the project, as shown in

Eclipse replication Project thoroughly modifies project name

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.