idea 热部署插件 Devtools 的配置
文章目录 1、在当前项目的pom.xml 配置如下:2、在父工程的 pom.xml 配置如下:3、idea 设置4、idea 参数配置5、重启 idea 1、在当前项目的pom.xml 配置如下: org.springframework.boot spring-boot-devtools runtime true 2、在父工程的 pom.xml 配置如下:
如果没有父工程,则在当前项目中配置。
org.springframework.boot spring-boot-maven-plugin true true 3、idea 设置 4、idea 参数配置按Ctrl+Alt+Shift+/ ,弹出选项,点击 Register ,在新的窗口中,将如下选项 选中:
5、重启 idea以后,每次修改内容后,idea 会自动部署。