Myeclipse "The copy project is renamed and republished, and the project name in the address bar is still the original project name" problem
我想大声告诉你
我想大声告诉你 2017-05-17 10:02:09
0
2
636

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.

我想大声告诉你
我想大声告诉你

reply all (2)
習慣沉默

.Has the project been changed?

    Ty80

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

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!