Create a MAVEN Web project using idea

Source: Internet
Author: User

If it is the first time to open the software directly click on Create New Project, if you have previously opened the project, you need to click on the menu File→new project ... Such as:

Select Maven module, enter the project name, and click Next below:

To edit GroupId, Artifactid, select the corresponding archetype, click Next below:

Confirm that the information is correct and click the Finish button to generate the project, such as:

Until this project has been created, start configuring the Tomcat service below, click the down arrow icon in the toolbar (such as the red box callout) or click Run→edit Configurations in the menu bar ... Such as:

Select the following:

Click the + button on the red callout, such as:

Select Tomca server→local such as:

After you enter a name (such as TOMCAT6), configure the Tomcat local environment, and the appropriate port, click tab Deployment such as:

Click + Select Artifact ...

Select the app you want to publish and click the OK button.

Edit the name of the application Context and click the OK button to complete the Tomcat configuration.

Double-click Open index.jsp, edit the file as follows:

123456 < HTML> < Body> < H2> Hello World! < /H2> ≪H2≫MoreSee ≪a href=" http://www.micmiu.com "&gt ; micmiu. Com </a&gt   &lt /h2&gt < /body> < /HTML>

Click the Green Start button in the callout to publish the app:

Starting normally you should see the following information:

When it starts, it automatically jumps to the browser and sees something like this:

Create a MAVEN Web project using idea

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.