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 会自动部署。


比丘资源网 » idea 热部署插件 Devtools 的配置

发表回复

提供最优质的资源集合

立即查看 了解详情