1. 首页
  2. 数据库
  3. 其它
  4. [ SpringBoot ] 使用 devtools 进行热部署

[ SpringBoot ] 使用 devtools 进行热部署

上传者: 2021-01-16 17:04:18上传 PDF文件 54.87KB 热度 16次
一、引入依赖 org.springframework.boot spring-boot-devtools true 二、修改配置文件 application.properties #热部署生效 spring.devtools.restart.enabled= true #设置重启的目录 spring.devtools.restart.additional-paths= src/main/java #classpath目录下的WEB-INF文件夹内容修改不重启 spring.devtools.restart.exclud
下载地址
用户评论