After eclipse changes the project name, the Tomcat connection problem resolution method

Source: Internet
Author: User

Background: When we use Eclipse for project development, sometimes it is necessary to modify the project name, and when the project name is changed, it is found that there is a problem with the Tomcat boot access, it is not feasible to use the new project name, but you can use the old project name. After modifying the Display-name in Web. XML, it still doesn't work.

Workaround:

1. Modify the Tomcat configuration in eclipse

The red box position is modified to the name of the new project.

2. Modify the configuration of the Eclipse project file

Use the TXT format on the location path to open the Org.eclipse.wst.common.component file, and modify the inside red box to the new project name.

After eclipse changes the project name, the Tomcat connection problem resolution method

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.