• spring boot项目
    1.在pom.xml文件中添加
    在springboot中配置热部署
    在springboot中配置热部署

2.File->Setting->Build,…->Compiler 将右侧project automatically勾上
在springboot中配置热部署

3.使用ctrl+shift+a 快捷键搜索Registry,选择搜索出来的第一个
在springboot中配置热部署
4.找到compiler.automake.allow.when.app.running,勾上
在springboot中配置热部署
5.重新启动此项目即可

相关文章: