1. pom.xml引入devtools的包

IDEA使用devtools进行热部署启动

2. maven-plugin插件设置

IDEA使用devtools进行热部署启动

3. 设置IDEA的自动编译

IDEA使用devtools进行热部署启动

4. 使用快捷键ctrl + alt + shift + a + / 选择registry

IDEA使用devtools进行热部署启动

5. 勾选compiler.automake.allow.when.app.running

IDEA使用devtools进行热部署启动

6. 重启IDEA即可

相关文章:

  • 2021-07-14
  • 2022-01-08
  • 2021-10-24
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-05-30
  • 2021-04-08
猜你喜欢
  • 2021-11-19
  • 2022-01-12
  • 2021-09-29
  • 2022-12-23
  • 2022-02-27
  • 2021-08-20
相关资源
相似解决方案