Home  >  Q&A  >  body text

Myeclipse "The copy project is renamed and republished, and the project name in the address bar is still the original project name" problem

After the project is copied, the project name is changed, but the address bar displayed when running tomcat is still the original.
I tried the following methods:
1,
Right-click your project, select "properties", enter "web" in "type filter text", enter the new project name, remember not to put "/ "Get rid of it. Restart myEclipse

2,
Find the location of your project in the workspace in myEclipse. If you can't find it, you can right-click your project and select "myEclipse"->"Open in Explorer". What you see is yours. The location of the project, open the .mymetadata file, and modify the value of the context-root attribute of the "project-module" tag.

3,
Open the ".setting" folder and find "org.eclipse.wst.common.component". Modify the value of "wb-module deploy-name" to the name of your project. If it matches your bottom The value of property name="context-root" is also your name. Generally, this has been changed when the name is changed. Just restart eclipse

However, after trying these methods, it still doesn’t work. Is it because my machine is difficult to fix, or is there another problem.

我想大声告诉你我想大声告诉你2711 days ago653

reply all(2)I'll reply

  • 習慣沉默

    習慣沉默2017-05-17 10:04:09

    .Has the project been changed?

    reply
    0
  • PHP中文网

    PHP中文网2017-05-17 10:04:09

    The first method is tried and true. .
    Remember to delete the previous deployment information after changing the project name, and then compile and redeploy

    reply
    0
  • Cancelreply