Eclipse Tomcat Configuration Publishing Directory

Source: Internet
Author: User
Tags tomcat server

Previously with MyEclipse development with Tomcat very good management release, but now with Eclipse development, slightly configure the complex point, first set each publish directory not to the local servers directory, you can check the data on the Internet a lot, the approximate step is to create a new debug on server, Do not select the project, edit the server, select the second in the server locations, so that the server path will be automatically located to the Tomcat installation directory, Deploy path input WebApps, click Save.

As of now, the Tomcat configuration is normal, but each release will find that the Server.xml in the Tomcat conf file will be automatically updated, and when the Tomcat server is launched in Eclipse, the project deployed in Eclipse will be automatically released. But my project was manually deployed out of the box, and Eclipse only recognized the projects that were deployed within it, so it would create a new Server.xml file that would overwrite the original file, only the projects deployed in eclipse, so we just had to cancel the auto-release feature.

The solution is as follows:

Select Window-preferences-server-launching, Cancel automatically publish Wen starting servers, click OK, get it done.

Eclipse Tomcat Configuration Publishing Directory

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.