不要以为年纪轻轻就跌倒了人生谷底,未来还有更大的下降空间等着你。
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://my.jrebel.com/
- 使用facebook或twitter登录
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
推荐文章
- Java创建区块链系列
- Spring Security源码分析系列
- Spring Data Jpa 系列
- 【译】数据结构中关于树的一切(java版)
- SpringBoot+Docker+Git+Jenkins实现简易的持续集成和持续部署
https://raw.githubusercontent.com/longfeizheng/longfeizheng.github.io/master/images/wechat/xiaochengxu.png
关注微信小程序java架构师历程
上下班的路上无聊吗?还在看小说、新闻吗?不知道怎样提高自己的技术吗?来吧这里有你需要的java架构文章,1.5w+的java工程师都在看,你还在等什么?