一、maven引入依赖
org.springframework.boot spring-boot-devtools true
org.springframework.boot spring-boot-maven-plugin true true
二、修改idea配置
File --- Settings : 自动编译项目
双击shift搜索Registry :当程序运行时,允许编译器自动编译
重启项目就OK了~
本文共 684 字,大约阅读时间需要 2 分钟。
一、maven引入依赖
org.springframework.boot spring-boot-devtools true
org.springframework.boot spring-boot-maven-plugin true true
二、修改idea配置
File --- Settings : 自动编译项目
双击shift搜索Registry :当程序运行时,允许编译器自动编译
重启项目就OK了~
转载于:https://my.oschina.net/MinghanSui/blog/1615695