Configure MAVEN (Getting started) "Go" with IntelliJ idea

Source: Internet
Author: User

1. Configuring Maven in IntelliJ idea
Open-file-settings

2. Create a new MAVEN Web project
Open-file-new-project
Click Next

Click Next

The added configuration is archetypecatalog=internal
Click Next

Click Next

After clicking Finish, the project starts to create
Click in the lower right corner to view it.

3.maven Web Template project Structure


Also create a new test folder under Main, and then create a new Java Test source folder and resource Test resource folder under this folder

You can also right-click the project-select open Module settings to change the project configuration page

4. Configure the dependent Jar package

Intellij idea how to use Maven to compile

First,run--> Edit configurations, such as:



Then click the plus sign in the upper left corner to add a new configuration, such as:



Choose Maven, such as:



Fill in your own configuration information below, click on apply can be, such as:



The following can be seen in the toolbar will appear the information you just configured, click Run or Debug to run the Web project,


Configure MAVEN (Getting started) "Go" with IntelliJ idea

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.