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 "> ; micmiu. Com </a> < /h2> < /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