Idea creates parent and child projects

Time:2021-7-21

1、 Create parent project

1. First, create a spring boot project by using spring initializer in idea. The specific process is as follows: click File > New > project, select spring initializer in the pop-up interface, and then click next.

Idea creates parent and child projects

2. Next, create the project

Idea creates parent and child projects

3. Delete redundant files and folders

Idea creates parent and child projects

4. Change packaging to POM

Add packaging tag, add POM format in the tag

Idea creates parent and child projects

2、 Create subproject

1. Select the parent module, right-click, and then click New > module.

Idea creates parent and child projects

Idea creates parent and child projects

Idea creates parent and child projects
2. Add the sub module just created under modules in pom.xml of the parent project.
Idea creates parent and child projects
3. In the subproject, change the parent to the information of the corresponding parent module
Idea creates parent and child projects

This work adoptsCC agreementReprint must indicate the author and the link of this article

Recommended Today

Front end 123: how browser caching works

Workflow for browser caching Obtaining content through the network is slow and expensive. Large responses require multiple round-trip communications between the client and the server, which will delay the time for the browser to obtain and process content, and increase the traffic cost of visitors. Therefore, the ability to cache and reuse previously acquired resources […]