Modify the deployment path for projects in eclipse in Apache Tomcat

Source: Internet
Author: User
Tags apache tomcat

Development environment:

Eclipse 3.x;

Apache Tomcat 7.x;


After configuring the server in Eclipse, deploy the project without making any changes, and after deployment you will find that there is no such project under Apache Tomcat's WebApp folder, so where did the project go?

In fact, the project has been deployed to the following default directory: Eclipse workspace/.metadata/.plugins/org.eclipse.core.resources/.projects.


If you are a previously used MyEclipse program APE, you will feel super uncomfortable, uncomfortable. Then change the chant ...


First, empty all the items in the server:


Second, start the server (must be started, or modify the path is gray)


Third, double click on the Tocat v7.0 in the image above, pop-up modify page

Four, modify the page of the server locations, the specific changes see the following figure:


Shut down the server and redeploy the project that will be deployed, and you can find it under the WebApp folder under the Tomcat installation directory.


Small common sense, remember just fine, no technical content.

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.