Using MAVEN to create Java Web projects in idea

Source: Internet
Author: User

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

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.