1.创建 普通 的 一个 springboot
只需要把Project type 修改 为 Maven POM
2 添加子模块,
选中 父节点 NEW --> module 选择 springboot 创建方式
创建 完成 。
在 子 项目中 添加 父 项目
<parent>
<groupId>com.jyyj</groupId>
<artifactId>test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath/>
</parent>
在 父项目中 添加子项目
<modules>
<module>core</module>
</modules>