Intellij idea creates a Web project configuration tomcat and launches the MAVEN project

Source: Internet
Author: User
Tags tomcat server

Most are direct oh,

Click where to add the Tomcat configuration page

After the page appears, follow the order and click the + sign

Tomcat Service, Local

Note that this is not the wrong choice, there is a Tomee service!

Configure it as shown in the figure below.

The configuration meaning of the place representation of the numbers in the figure:
1 represents the name, giving the configured tomcat a name.
2 represents the installation path for configuring Tomcat.
3 for the Tomcat server after startup, the default open browser, according to their own habits open.
4 represents the browser display path, according to their preferences can be changed.
Both 5 and 6 are default and do not need to be modified.

Configure Deployment,webapp as the webapp of the project, the name can be defined by itself, do not forget to add "/".

If you can't start a Web project after you've configured Tomcat, you can try the following methods:

Web Settings for Facets

Add artifacts

Add Tomcat again

Start Tomcat

Intellij idea creates a Web project configuration tomcat and launches the MAVEN project (GO)

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.