To change the deployment path "diagram" for a Web project that is published by Tomcat in Eclipse

Source: Internet
Author: User

My Eclipse working directory:

D:\eclipse\workspace

After you have configured Tomcat in Eclipse, the path to publish to is:

D:\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps

This path is too deep, so I want to use Tomcat's default path and how to make changes in eclipse.

1, find the server panel, right click on the current Tomcat, remove all of the works.

2, and then right click on the tomcat, choose Clean, empty.

3. Double-clicking that Tomcat will open the Properties panel and locate the second server locations on the left.

Select the second one will create a new Wtpwebapps file under the Tomcat path, storing the Web project that Tomcat publishes;

Select the third one, and you can enter the path you want in server path and save it.


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.