Build a Java Web project using IntelliJ idea and maven

Source: Internet
Author: User
Tags java web tomcat server maven central
  1. File, New Module, enter the Create Project window.

  2. Click Next to fill in GroupID, Artifactid, and version

  3. Fill in the module name, to ensure that the MAVEN central warehouse can be connected to the normal generation of directory structure, you can change the MAVEN mirror address

  4. After you build the project skeleton for MAVEN, the project's Project Structure Recources folder: Typically used to hold some resource Files WebApp folder: Used to store Web configuration files and JSP pages, etc., which has formed a raw web application

  5. Open "Project Structure"

  6. Configure "Facets"

  7. Configure "Artifacts"

  8. Launch "Edit configurations", Add New ' Tomcat Server ' configuration

  9. Configure the Deplyment and start:

Build a Java Web project using IntelliJ idea and maven

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.