IDEA to create a multi-module project of springboot

1. First create the parent project: File-New-Project

2. Select Spring Initializr, click next

3. Fill in the necessary information, next

4. depend not check page directly next

5. Complete

6. Increased packaging in the pom file

7. Remove the extra files

8. The implementation of the project mvn clean install, note that if you do not perform here when the last execution, will complain

 

9. On the right-engineering, New-Module

10. Fill in the information sub-projects

11. The choice depends, and Next-Finish

 

12. Increase the modules in the parent pom

13. Modify parent node of the sub-pom, pom instead of the parent information, and remove the sub-pom groupId node

14. delete unnecessary files in the sub-module

 15. The Executive mvn clean install, Packaging Success

 

Guess you like

Origin www.cnblogs.com/pageBlog/p/11424746.html