idea 热部署配置
1、pom配置
<dependency>
<groupId>binaryage</groupId>
<artifactId>devtools</artifactId>
<version>0.9.10</version>
</dependency>
<configuration>
<fork>true</fork><!--必须添加这个配置,开启热部署-->
<source>12</source>
<target>12</target>
</configuration>
2、打开设置 --> 查找 build project automatically --> 选中
3、打开设置 --> 查找Registry --> 找到并勾选compiler.automake.allow.when.app.running 【Shift+Ctrl+Alt+/】
最后重启idea