IntelliJ IDEA 12 create a Java Web project managed by Maven (illustration)

Source: Internet
Author: User

This article describes how to use IntelliJ IDEA 12 to create a Maven-managed Java Web project.

IntelliJ IDEA details: click here
IntelliJ IDEA: click here

IntelliJ IDEA: Adding fonts to anti-aliased

IntelliJ IDEA 12 create a Web project graphic tutorial

Graphic tutorial for Android program development using IntelliJ IDEA

IntelliJ IDEA 12 haXe NME application Configuration Guide

IntelliJ IDEA test mode for running the Play Framework

Install IntelliJ IDEA 12 on Ubuntu 13.04

1. Create a project, select Maven Module, enter the project name, and click Next to continue.

Note that the Module here refers to the Project, which is equivalent to the Project in MyEclipse.

Click Finish.

The Maven project after creation. Double-click pom. xml to view the content of the POM file. You can add Maven Dependencies by yourself. But I found that there is no Web directory. What should I do? Later.

Right-click the project name and select Add Framework Support...

In the Add Framework Support dialog box, select Web Application, version 3.0, and select Create web. xml.

Click OK and you will see the following interface. The web file is displayed in the project. Are you familiar with it? It is similar to the project structure in MyEclipse.

Open the pom. xml file and add necessary Maven dependencies. It is also called the Maven coordinate. A set of jar dependent files are uniquely identified by groupId, artifactId, and version.

  • 1
  • 2
  • 3
  • Next Page

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.