1 、创建后端模块batch
1.1、创建maven项目
1.2、pom.xml文件中导入依赖
<dependencies>
<!-- common-->
<dependency>
<groupId>com.wei</groupId>
<artifactId>common</artifactId>
</dependency>
<!-- 热部署devtools-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<!-- test-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>