一开始用eclipse的时候虽然这是一个狂吃内存的家伙,但是调试代码是真的舒服,修改过的代码可以不用重启热加载,后来转idea,虽然idea很完美但是也有不足的地方,比如代码调试就不能热加载。

还好有第三方插件,话不多言,亲测可用

激活地址填写:https://jrebel.qekang.com/{GUID}

在线GUID地址:https://www.guidgen.com/

邮箱需要填写真实邮箱

激活之后,在设置里面将工作模式设置为offline就可以了

参考链接:https://www.cnblogs.com/babyshe/articles/12605174.html

附:如果试用jreble同时还想整合JProfiler来监测性能相关的参数,可以在jrebel的配置项里面添加一行参数,当然前提是你已经安装了JProfiler

这里我用的时jrebel Debug模式,如果不想在debug模式下,配置非debug模式就可以了

-agentpath:D:\software\jprofiler11\bin\windows-x64\jprofilerti.dll=port=8849,nowait,id=81,config=C:\Users\Vincente\.jprofiler11\jprofiler_config.xml

  • 注意你的.dll 文件路径和 config.xml的路径



正常启动可以看到控制台输出:

  • Tomcat启动 --> 加载 JProfiler --> 加载Jrebel --> 加载Xrebel
Using CATALINA_BASE:   "C:\Users\Vincente\.IntelliJIdea2019.3\system\tomcat\Unnamed_my-study-platform"
Using CATALINA_HOME: "D:\develop\tomcat\apache-tomcat-7.0.35"
Using CATALINA_TMPDIR: "D:\develop\tomcat\apache-tomcat-7.0.35\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_241"
Using CLASSPATH: "D:\develop\tomcat\apache-tomcat-7.0.35\bin\bootstrap.jar;D:\develop\tomcat\apache-tomcat-7.0.35\bin\tomcat-juli.jar"
JProfiler> Protocol version 63
JProfiler> Java 8 detected.
JProfiler> Don't wait for frontend to connect.
JProfiler> 64-bit library
JProfiler> Using config file C:\Users\Vincente\.jprofiler11\jprofiler_config.xml (id: 81)
JProfiler> Listening on port: 8849.
JProfiler> Enabling native methods instrumentation.
JProfiler> Can retransform classes.
JProfiler> Can retransform any class.
JProfiler> Native library initialized
2020-08-24 10:45:25 JRebel: Starting logging to file: C:\Users\Vincente\.jrebel\jrebel.log
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: #############################################################
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: JRebel Agent 2020.2.4 (202007241243)
2020-08-24 10:45:25 JRebel: (c) Copyright 2007-2020 Perforce Software, Inc.
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: Over the last 30 days JRebel prevented
2020-08-24 10:45:25 JRebel: at least 796 redeploys/restarts saving you about 0.4 hours.
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: License acquired from License Server: https://jrebel.qekang.com
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: Licensed to Vincente.
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: You are using an offline license.
XRebel: Starting logging to file: C:\Users\Vincente\.xrebel\xrebel.log
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: #############################################################
2020-08-24 10:45:25 JRebel:
XRebel:
XRebel: ################################################################
XRebel:
XRebel: XRebel 2020.2.0 (202006020843)
XRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tallinn.
XRebel:
XRebel: For questions and support, contact xrebel@zeroturnaround.com
XRebel:
XRebel: ################################################################
XRebel:
JProfiler> VM initialized
JProfiler> Using instrumentation
JProfiler> Time measurement: elapsed time
JProfiler> CPU profiling enabled

Jrebel & Xrebel 在线激活方法 (亲测可用)的更多相关文章

  1. Windowserver2012服务器激活方法(亲测可用)---转载

    Windowserver2012服务器激活方法(亲测可用)原创꧁刘向洋꧂ 最后发布于2019-03-12 14:46:45 阅读数 5124  收藏展开激活方式 slmgr /ipk D2N9P-3P ...

  2. Intellij idea2020永久激活,亲测可用!!!(持续更新)

    DEA 2020 破解 IntelliJ IDEA 2020最新激活码(亲测有效,可激活至 2089 年,持续更新~) 申明:本教程 IntelliJ IDEA 破解补丁.激活码均收集于网络,请勿商用 ...

  3. win10教育版永久激活密钥 win10教育版激活码 win10教育版产品密钥2018(第三种方法亲测可用!)

    有没有最新win10教育版激活密钥?win10教育版功能比较全面,增加了一些学术上需要的功能.有用户装了win10教育版,提示需要产品密钥,网上找到的win10教育版永久激活码大多失效,这边小编为大家 ...

  4. office2019下载以及激活密钥(亲测可用)

    office2019激活密钥 W8W6K-3N7KK-PXB9H-8TD8W-BWTH9  或者: 链接:https://pan.baidu.com/s/1Ch0rc2ZN9I_lwmbjGESTuw ...

  5. c# post方法亲测可用

    /// <summary> /// Post接口方法 /// </summary> /// <param name="requestUri">& ...

  6. win10 激活(亲测可用)

    转自http://www.ylmfwin100.com/ylmf/8643.html 1.以管理员身份运行命令行(这一步一定要做) 2.依次输入以下命令 slmgr.vbs /upk (此时弹出窗口显 ...

  7. windows 2003 远程桌面无法使用剪贴板共享纯文本的解决方法(亲测可用)

    远程桌面无法使用剪贴板共享纯文本的解决方法========================================以下操作须在远程桌面上操作,本地机没用的!================== ...

  8. 在线激活Pycharm(亲测有效)

    (1)在激活界面的License server输入:http://idea.liyang.io:或者:点击help→Register→License sever ,输入http://idea.liya ...

  9. IDEA 2019.2及以下版本永久激活教程(亲测可用)

    写在前面 由于最近jetbrains公司开始严厉打击盗版激活码,所以导致一大批激活码失效,我身边的小伙伴对于如此苦恼,但是由于考虑到正版费用还是比较高昂的前提下,所以鉴于此,遂将之前整理的jar包激活 ...

随机推荐

  1. go init执行顺序

    package test import "fmt" // 初始化函数 引入包的时候要先执行 可以重复定义多个 同一个go文件从上到下 多个文件 是按照字符串进行排序 从小到大 执行 ...

  2. postgresql使用规范解读

    表设计规范1.建议能使用小字节数类型,就不要用大字节数类型2.建议能用varchar(N).text就不用char(N):3.建议使用default NULL,而不用default '':4.建议使用 ...

  3. vue渐进式开发的理解和指令

    1.vue渐进式开发 vue是一个渐进式的框架,轻量,易于上手,为啥是渐进式那,我当时也很蒙,比如的官网是jquery写的,就可以通过script标签引入事先准备好的vue.min.js的压缩源代码或 ...

  4. SpringCloud 与 SpringBoot版本问题

    如果SpringBoot版本与SpringCloud版本不一致,SpringBoot应用启动会报错: 解决方案: 版本对应关系可以在 https://start.spring.io/info 上查看: ...

  5. Python基础及爬虫入门

    **写在前面**我们在学习任何一门技术的时候,往往都会看很多技术博客,很多程序员也会写自己的技术博客.但是我想写的这些不是纯技术博客,我暂时也没有这个能力写出 Python 或者爬虫相关的技术博客来. ...

  6. (CVPR 2019)The better version of SRMD

    CVPR2019的文章,解决SRMD的诸多问题, 并进行模拟实验. 进行双三次差值(bicubic)===>对应matlab imresize() %% read images im = {}; ...

  7. zookeeper Cli的常用命令

    zookeeper Cli的常用命令 服务管理 启动ZK服务: zkServer.sh start 查看ZK状态: zkServer.sh status 停止ZK服务: zkServer.sh sto ...

  8. 拖拽编写SVG图形化工具(二)

    getAttributesNs/setAttributesNs element.setAttributeNS(namespace,name,value) namespace 是指定属性的命名空间的一个 ...

  9. 配置交换机之间直连链路聚合-LACP模式

    组网图形 LACP模式链路聚合简介 以太网链路聚合是指将多条以太网物理链路捆绑在一起成为一条逻辑链路,从而实现增加链路带宽的目的.链路聚合分为手工模式和LACP模式. LACP模式需要有链路聚合控制协 ...

  10. Java线程池初步解读

    好好学习,天天向上 本文已收录至我的Github仓库DayDayUP:github.com/RobodLee/DayDayUP,欢迎Star 几个月前,写了一篇<Java并发学习(一):进程和线 ...