Idea中Springboot热部署无效解决方法

旧街凉风 提交于 2020-11-13 06:26:24

仅适用IDEA中,eclipse中不需要设置

一、开启idea自动make功能 

1 - Enable Automake when the application is running 

PRESS: CTRL + SHIFT + Alt + / 
TYPE: Registry 
Find the key compiler.automake.allow.when.app.running and enable it 
Note: Restart your application now  


操作步骤: 
1、CTRL + SHIFT + Alt + /  --> 查找Registry --> 找到并勾选compiler.automake.allow.when.app.running 

 

当然了,要在pom.xml中添加上 spring开发工具包

  在IDEA中开启自动编译:

 

参考文章:https://www.cnblogs.com/yangxiaomei/p/9608029.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!