idea中springboot热部署(无需重启项目)
2021-03-11 15:33
阅读:708
标签:alt build 发布 set too group class code 导入
idea中springboot热部署(无需重启项目)
1.在pom.xml文件中导入依赖
org.springframework.boot
spring-boot-devtools
true
2.配置idea
点击idea->file->settring->搜索compiler->勾选Build project automatically
到这一步其实已经很快捷了,只需要点击ctrl+f9,然后刷新浏览器即可
3.点击ctrl+shift+alt+/ 选择Registry
选择compiler.automake.allow.when.app.running:
到这里就算配置完成了
5.直接刷新浏览器,更新代码,不用再重新发布项目
idea中springboot热部署(无需重启项目)
标签:alt build 发布 set too group class code 导入
原文地址:https://www.cnblogs.com/wtao0730/p/14124992.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:idea中springboot热部署(无需重启项目)
文章链接:http://soscw.com/index.php/essay/63265.html
文章标题:idea中springboot热部署(无需重启项目)
文章链接:http://soscw.com/index.php/essay/63265.html
评论
亲,登录后才可以留言!