IDEA to create a maven web project

First, create a new maven web project

step1

  File --》 New --》 Project

 

 

 

step2

  FIG pressing steps

 

 

 

step3

  Fill Project Information

 

 

 

step4

  Select local maven installation environment. If not familiar with maven, can refer https://www.cnblogs.com/lyh/p/11147939.html

 

 

 

step5

  Saved to create a project name and project location

 

 

 

step6

  Wait maven automatic network download. You could not have java, resource and other folders (created manually).

 

 

 

step7

  Manually create java, resource and other folders. Select File - "Project Structure

 

 

step8

  Select Modules, find the item right click and select New Folder.

 

 

step9

  Create a new folder java, you can right click and select Resource.

 

 

step10

  Similarly create a resource, you can select OK.

 

 

As shown below:

 

Guess you like

Origin www.cnblogs.com/l-y-h/p/11454933.html