开发利器JRebel部署SpringBoot项目

不要以为年纪轻轻就跌倒了人生谷底,未来还有更大的下降空间等着你。

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot06.png

idea下载和安装JRebel

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot07.png

激活JRebel

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot08.png

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot09.png

勾选 Build project automatically

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot10.png

快捷键 ctrl+shift+alt+/ 选择 Retistry
  • 勾选compiler.automake.allow.when.app.running

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot11.png

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot12.png

勾选需要热部署的模块

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot02.gif

  • resources目录下面会多出一个rebel.xml

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot17.png

配置 Run Dashboard
  • 默认启动控制台

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot13.png

  • 配置Run Dashboard控制台

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot14.png

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot15.png

  • Run Dashboard控制台

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot16.png

使用JRebel 启动后效果如下

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/springboot/springboot03.gif

推荐文章

  1. Java创建区块链系列
  2. Spring Security源码分析系列
  3. Spring Data Jpa 系列
  4. 【译】数据结构中关于树的一切(java版)
  5. SpringBoot+Docker+Git+Jenkins实现简易的持续集成和持续部署

https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/wechat/xiaochengxu.png

关注微信小程序java架构师历程 上下班的路上无聊吗?还在看小说、新闻吗?不知道怎样提高自己的技术吗?来吧这里有你需要的java架构文章,1.5w+的java工程师都在看,你还在等什么?


转载于:https://my.oschina.net/merryyou/blog/1833932

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值