Configuring the Tomcat server in eclipse

Source: Internet
Author: User
Tags tomcat server

Install Tomcat externally first, and then configure the Tomcat server in eclipse:

Select the version of Tomcat you want to configure:

Select the path of the Tomcat installation and select the JRE you installed:

To this Tomcat server even if it is configured, the next step is to use our configured tomcat:

First open the Servers view, if not seen in Show view, is in other:

When you open the Servers view, it looks like this:

Simply click on the text in the Red box to add Tomcat:

When you click Done directly, the serves view looks like this, and you can see that our Tomcat appears:

Next to right-click Tomcat, you can do some things:

Next, the left side will generate Server folder.

this Server is a new Tomcat server, now using Eclipse Development and our local hard disk installation Tomcat 's okay.

============================================================================================

Next, say a special case:

sometimes we need to swap out a tomcat for Eclipse, delete the Tomcat server under Servers and add the newly configured Tomcat The following conditions may occur when the

For example, when you select the server name under Tomcat v7.0 server, no content appears:

There is no way to complete the addition of Tomcat, the workaround:

1. Close Eclipse

2. Open The location where the workspace is located.

Example: E:\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings

Delete the following files

Org.eclipse.wst.server.core.prefs

Org.eclipse.jst.server.tomcat.core.prefs

3. restart Eclipse, you can.

Configuring the Tomcat server 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.