idea热部署
一、修改pom.xml文件
修改配置文件


二、打开自动build:
File -> Settings -> Build,Exe... -> Compiler -> 将下图automatically选项勾选,应用

三、设置注册表,允许自动生成等:
ctrl + alt + shift + /-> Registry -> 勾选下图,设置值

idea版本过高可能找不到该选项,可参考:
四、重启项目
每次
ctrl+s保存后可能会有点小延迟
pom.xml文件修改配置文件


File -> Settings -> Build,Exe... -> Compiler -> 将下图automatically选项勾选,应用

ctrl + alt + shift + /-> Registry -> 勾选下图,设置值

idea版本过高可能找不到该选项,可参考:
每次
ctrl+s保存后可能会有点小延迟