IntelliJ Idea 15 Configuration Tomcat8

Source: Internet
Author: User
Download and install tomcat configure TOMCAT8 in idea
Find settings in Idea (Ctrl+alt+s)

In the pop-up window, enter "Application" in the upper-left filter bar and select Application Servers in the results. (or click Application Servers in the IDE settings)

Click Add, fill in the server name, select the path to Tomcat 8, and click Apply OK.

Deploying Web Application
Under the File menu, locate project structure (or press ctrl+alt+shift+s)

In the pop-up Project structure, click Artifacts, click + in the middle column, create a new Web application exploded, the display interface is as follows:

Deployment
Select Run from the menu and select Edit Configurations in the popup menu, as shown in the following image:

In the pop-up window, click + New configuration, select Tomcat server-local, display the page as follows:


Enter name, select Server, and then select the Deployment label (note that the deployment package that needs to add the project is selected as the exploded War package), as shown in the following illustration:


Click Apply OK when the diagram above is configured.

Run
Click the green arrow in the Idea toolbar, as shown in the following image:

Or find it in the Run menu:

Post-click Effects are as follows:

Get.
If you start server again after stop server, the 8080 port conflict issue is reported. You can specifically configure a Tomcat usage for idea, and modify the port to remove other apps under WebApps. Port conflict problem resolution.

Author: jiankunking Source: http://blog.csdn.net/jiankunking

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.