美文网首页Spring
开发利器JRebel部署SpringBoot项目

开发利器JRebel部署SpringBoot项目

作者: 淡淡的伤你 | 来源:发表于2018-06-22 11:25 被阅读51次

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

    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工程师都在看,你还在等什么?

    
    

    相关文章

      网友评论

        本文标题:开发利器JRebel部署SpringBoot项目

        本文链接:https://www.haomeiwen.com/subject/omckyftx.html