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