After eclipse uses add Tomcat, the default deployment directory is not Tomcat/webapps, and the method is modified as follows

Source: Internet
Author: User

Eclipse configuration Tomcat is published to the. metadata\plugins\ directory by default, Wtpwebapps.

This will not find the published project in the actual Tomcat directory. So how do we set it up?

On the Console menu, locate servers, and then right-click New server, such as

Then finish, do not choose Next, if you choose Next, do not choose Add any project.

Then, on the server name, double-click, or Right click on the menu, select Open

At this point, the configuration file will be out, there are two to modify:

First one: Server location

Select, the middle one, and then change the deploy path to:

WebApps

Second: Timeouts, startup timeout, default is too small

A little bigger, all changed to 1200.

After eclipse uses add Tomcat, the default deployment directory is not Tomcat/webapps, and the method is modified as follows

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.