仅适用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
PRESS: CTRL + SHIFT + Alt + /
TYPE: Registry
Find the key compiler.automake.allow.when.app.running and enable it
Note: Restart your application now
![](http://jisonami.iteye.com/images/smiles/icon_smile.gif)
操作步骤:
1、CTRL + SHIFT + Alt + / --> 查找Registry --> 找到并勾选compiler.automake.allow.when.app.running
当然了,要在pom.xml中添加上 spring开发工具包
![](https://img2018.cnblogs.com/blog/1209473/201910/1209473-20191031155110389-481583566.png)
在IDEA中开启自动编译:
参考文章:https://www.cnblogs.com/yangxiaomei/p/9608029.html