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