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.