Transferred from: http://www.linuxidc.com/Linux/2014-04/99687.htm
The main use of this article is to illustrate the process of creating a Maven managed Java Web Project using IntelliJ idea 12.
IntelliJ idea in detail : please click here
IntelliJ Idea's : please click here.
Related reading:
IntelliJ idea: Font beautification (anti-aliased) and font additions http://www.linuxidc.com/Linux/2013-11/92609.htm
IntelliJ idea 12 Creating a Web project graphic detailed tutorial http://www.linuxidc.com/Linux/2013-05/84213.htm
Using IntelliJ idea to develop the Android program graphics tutorial http://www.linuxidc.com/Linux/2013-03/81471.htm
IntelliJ Idea 12 Development haxe NME application Configuration Guide http://www.linuxidc.com/Linux/2013-01/77227.htm
IntelliJ idea runs the play Framework test mode http://www.linuxidc.com/Linux/2013-07/87694.htm
Ubuntu 13.04 installation IntelliJ idea http://www.linuxidc.com/Linux/2013-11/93014.htm
1. New project, select Maven Module, enter the project name, click Next to continue.
Note that the module here is the meaning of the project, as in MyEclipse project.
Then click Finish directly.
After the completion of the MAVEN project, double-click Pom.xml to view the contents of the Pom file, you can add the dependency of Maven yourself. But found that there is no web directory, what to do? Look at the back.
Right-click on the project name and select Add Framework support ...
In the Add Framework Support dialog box, tick Web application, select version 3.0 and tick Create Web.
Click OK, see the following interface, the project appears in the Web file, is not familiar with, and myeclipse in the project structure similar.
Open the Pom.xml file and add the necessary maven dependencies. Also called Maven coordinates, the GroupID, Artifactid, and version uniquely determine a set of jar dependent files.
Using MAVEN to create Java Web projects in idea