Create an aggregation module first.
Tick Create a simple project
Click Finish.
See that this aggregation has been created well.
Next we create the submodule. PAY-HK pay-web Two-word module, the previous one is the normal Maven project, and the next one is the MAVEN Web project.
To create a PAY-HK sub-module:
Select Maven Module
Click Next
Select this template:
Click Finish
We see that the project has been created.
Next we create a Web project of a submodule.
The above actions are the same, this place chooses the template when chooses Maven-archetype-webapp
Click Finish and we can see:
Project has been created, more than the normal project one folder WebApp below there are web.xm files.
We saw index.jsp error because the servlet package was not imported.
This completes the project creation process for the Maven aggregation module. If you don't understand, ask me.
Eclipse Create maven Module