2020
11-17
11-17
Spring Boot 打包与热部署的操作方法
热部署SpringBoot提供了DevTool。直接在pom.xml文件中添加配置。1.添加依赖<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId></dependency>2.在maven插件依赖中新增<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><!--添加fork--><configuration><fork>true</fork>...
继续阅读 >