Multiple tomcat additions in eclipse

Source: Internet
Author: User

First, add Tomcat to eclipse and increase the number of projects deployed on it

1. Open Eclipse and select "Window" in the menu---> "Show View"---> "Others", enter "Server" in the popup window and select servers, click "OK" (as shown).

2, put the mouse in the Servers box, right-click "New"---> "Server";

3. After modifying the server name, click "Next";

4. Configure the path of Tomcat and the locally installed JDK, then click "Next";

5. Increase the number of projects that need to be deployed to Tomcat (e.g.) and finally click "Finish".

Second, the configuration of Tomcat in eclipse

1. Configure the time limit for Tomcat to start and close. If not started within the specified time will be an error.

2, the project name after the distribution of the project. In general, the official URL configuration is empty, so this is configured as NULL. Configurations such as:

Delete the name in path, leaving only "/" to indicate the root path in Tomcat, remove the tick below and set the project to automatically load tomcat after the change is saved.

3. Press "Control + S" to save the above changes.

Note: When configuring multiple Tomcat, the 3 port numbers cannot be configured the same.

Multiple tomcat additions in eclipse

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.