2020
10-09
10-09
springboot项目idea热部署的教程详解
1.添加依赖<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId><optional>true</optional><scope>true</scope></dependency>2.开启自动编译3.ctrl+shifi+alt+/点击registry选择compilerautoMakeallowwhenapprunning接下来在你进行项目修改切换到浏览器时就会发现springboot重新加载了4.排除热部署范围将不需要热部署的路径定义到配置文件中...
继续阅读 >