版权声明:本文为博主原创文章,如需转载,请标明原文出处。写博客为总结,提升,便于以后查阅。其中肯定有知识陈诉错误或表述不当之处,如您发现,还望指正,万分感谢! https://blog.csdn.net/xiayiguo/article/details/79328705

前置:JRebel**教程见博文:http://blog.csdn.net/xiayiguo/article/details/79328667

1. 勾选 Build project automatically

Spring Boot项目首先自动编译,才能够实现热部署。那如何实现自动编译,见下图: 
SpringBoot项目如何通过Jrebel进行热部署

2. 按组合键 Shift+Ctrl+Alt+/,选择Registry

SpringBoot项目如何通过Jrebel进行热部署

3. 勾选上compiler.automake.allow.when.app.running

SpringBoot项目如何通过Jrebel进行热部署

4. 使用jrebel debug模式重新运行你的项目

SpringBoot项目如何通过Jrebel进行热部署

5. 启动成功的标志

SpringBoot项目如何通过Jrebel进行热部署

6. 运行结果

SpringBoot项目如何通过Jrebel进行热部署

相关文章:

  • 2022-01-05
  • 2021-09-13
  • 2021-06-26
  • 2021-10-26
  • 2021-07-14
  • 2021-09-07
  • 2021-09-24
  • 2021-11-02
猜你喜欢
  • 2021-11-06
  • 2021-04-02
  • 2021-04-22
  • 2021-10-19
  • 2021-12-08
  • 2022-01-19
  • 2021-11-15
  • 2021-09-08
相关资源
相似解决方案