1. Open eclipse,file--"new--" Maven project, create MAVEN projects, tick the Create a simple project, as shown in:
2. Enter the basic information for the MAVEN project, as shown in:
3. When the MAVEN project is created, build the MAVEN project as shown in:
4. Select the project, go to the Properties page, choose Project Facets under the Maven menu, and remove the other two, and choose Java version 1.7 as shown in:
5. Click Apply, then click on the Ok,maven project structure as shown in:
6. The current webapp is empty, we configure the project as a Web project, once again into the properties configuration, tick the dynamic Web Module, click further configuration available ..., as shown in:
7. Configure the Src/main/webapp, and tick the option to generate Web. XML, as shown in:
8. On the Properties configuration page, click Apply, then remove the dynamic WEB module tick, click the OK,WEBAPP directory structure to complete, as shown in:
9. At this point you also need to configure, Src/main/webapp "/" Project root directory, add--"folder--" Src/main/webapp, as shown:
Eclipse creates a Maven project