刚从ssm框架转入spring boot开发,在热部署方面习惯了使用jrebel。因此没有考虑别的热部署方式了。

spring boot 使用jrebel配置热部署

然后打开设置,勾选build project automatically选项

spring boot 使用jrebel配置热部署

然后按Ctrl + alt + shift +/   ,弹出小框选择第一个 Registry...勾选下面选项

spring boot 使用jrebel配置热部署


到此为止已经设置完毕。写一个demo试一下效果吧~

修改完毕后,日志界面出现以下reloading class 提示则表示配置成功。

spring boot 使用jrebel配置热部署


相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2021-08-21
  • 2021-06-14
  • 2021-08-16
  • 2021-08-18
  • 2021-05-11
  • 2022-12-23
猜你喜欢
  • 2022-01-10
  • 2021-10-21
  • 2021-06-04
  • 2021-11-06
  • 2022-12-23
  • 2021-11-16
  • 2021-06-03
相关资源
相似解决方案