Eclipse integrates the run-Jetty-run plug-in for the jetty server

Source: Internet
Author: User

Program, how to integrate the Jetty server into the Eclipse development environment is the first thing to do. There are two ways to install Jetty in Eclipse through the network:
1. Integration using Server Adapter;
2. Use the Run-Jetty-Run plug-in for integration;
Here, we will introduce how to integrate the run-jetty-run plug-in:
Step 1: Install the Run-Jetty-Run plug-in, as shown in the following figure:

Search and install the run-jetty-run plug-in Eclipse Marketplace:

Select the component to be installed (select all). The run-jetty-run plug-in currently supports Jetty7 and Jetty8 versions:

Accept the license agreement and install the plug-in
After installation is complete, restart Eclipse.
 
Step 2: Test the plug-in, configure the Jetty runtime environment in the project, create a new Web project, right-click Run As-> Run Configuratiomns ...... :
Select Jetty version, Run:
Access the project through http: // localhost: 8080/JettyTest:
 
At this point, jetty is integrated into Eclipse using the run-Jetty-run plug-in.
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.