Tomcat is integrated into Eclipse and Tomcat Eclipse in Windows.

Source: Internet
Author: User

Tomcat is integrated into Eclipse and Tomcat Eclipse in Windows.

Eclipse Java ee ide for Web Developers 4.7.1a and Apache Tomcat 8.0.47 are used here.

Both of them depend on JDK. install and configure JDK in advance.

First, download tomcat at https://tomcat.apache.org/download-80.cgito download the 64-bit Windows zip file.

 

After the download, it is as follows:

Decompress the package to the software installation location and add the bin path of tomcat to the system environment variable.

Right-click "computer" and choose "properties" --> "Advanced System settings" --> "environment variables" --> "system variables", select "Path", and click Edit.

Click "new" and add E: \ Program Files \ apache-tomcat-8.0.47 \ bin to the path (based on your installation path)

Click "OK" to save the settings.

In this way, double-click startup. bat in the bin directory of tomcat. After tomcat is started, visit it in a browser and you will see the following page.

It indicates that tomcat has been installed. Double-click shutdown. bat in the bin directory to disable tomcat.

Next, configure the tomcat runtime environment in Eclipse. Open Eclipse and click "Window" to select

"Preferences", click "Server", click "Runtime Environments", click "Add...", select tomcat 8, click "Next ",

Click "Browse...", select the tomcat installation location, click "Finish", and click "Apply and Close" to save and Close the installation.

After that, a more Servers will be added under Project Explorer, which is the tomcat service. Double-click tomcat, set the timeout time, and press Ctrl + S to save.

When the project is large, the original timeout time is not enough. Increase the value.

In this way, Tomcat is integrated into Eclipse.

 

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.