热部署devtools
导入架包
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
添加maven插件在父总工程里pom.xml
org.springframework.boot
spring-boot-maven-plugin
true
true
开启自动编译
- 按下快捷键 ctrl +shift +Alt +/ 选择registry,把如下两个选项打勾
- 重启idea
还没有评论,来说两句吧...