版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/IOIO_/article/details/82918125
配置热部署
Run -–> EditConfigguration
Server --> On frame deactivation --> 选择 Update classes and resources 选项
[
注意:
如果没有On frame deactivation项,进行以下操作:
Deployment --> + --> Artifacts --> 选择带exploded的项目 --> 删除默认的Build,提高效率
]
idea开启自动编译
setting --> Build,Execut, Deployment --> Compiler --> 勾选右侧的Build Project automatically
idea开启项目运行时自动build
快捷键ctrl + shift + a --> 搜索命令:registry -–> 勾选compiler.automake.allow.when.app.running
Reference:
https://blog.csdn.net/z15732621582/article/details/79439359