JRebel安装使用说明

idea热部署JRebel & XRebel 修改代码(只测试了Java代码的修改)后,可以按快捷键 Ctrl + Shift + F9,运行后会提示有变化是否需要重新加载,这时选择yes。完成加载以后,就已经实现了热部署的效果。因为JRebel是实时监控class文件的变化来实现热部署的,所以在idea环境下需要打开自动编译才能实现随时的修改,随时生效。在线生成GUID网站: Create GUID online (guidgen.com)安装成功之后就可以通过JRebel启动项目,便可以不用耗费太多的时间在启项目中了。三、激活Jrebel。 阅读详情

JRebel安装使用说明

开发JAVA或对JAVA感兴趣的朋友,可以参考下。

开发环境下,tomcat对热布署的支持还是比较弱,致使开发过程中浪费大量时间在重起服务上。为了提高开发效率,决定引入Jrebel,它对热布署的支持相对比较全面。

虽然Jrebel官方号称使用它不存在内存泄漏问题,但是占用一定的资源是肯定的,因此不考虑在正式环境下使用热布署。Jrebel除了支持Tomcat还包括Jetty、Resin、Weblogic等等,本文要讲的是tomcat+ eclipse+ spring+ struts2的环境。在使用Jrebel后,期望看到开发人员早上开机启动一次tomcat后就够了。

PS. rebel出了免费社区版,参见:
http://zeroturnaround.com/blog/free-version-of-jrebel-social/

一、安装包准备

1. Jrebel.jar 核心JAR包,http://zeroturnaround.com/jrebel/prev-releases/ 上面进行下载。

2. update-site.zip jrebel Eclipse插件
http://www.zeroturnaround.com/update-site/update-site.zip

二、配置Eclipse

Eclipse中配置 window->preference->tomcat->JVM Settings,加入以下参数

-Drebel.spring_plugin=true 支持spring框架

-Drebel.aspectj_plugin=true 支持aspectj

-Drebel.struts2_plugin=true 支持strut2

-javaagent:D:\jrebel.jar 这里自行修改jrebel.jar正确的路径

-noverify

如果你要支持更多的框架,可以参考官网http://www.zeroturnaround.com/jrebel/features/frameworks/

如果你要了解更多的参数配置,可以参考官网

http://www.zeroturnaround.com/jrebel/configuration/

三、安装Eclipse插件

安装 JRebel Eclipse 插件

Help » Install New Software

然后通过 如下 URL :
http://www.zeroturnaround.com/update-site/
如果要离线下载的话,可以通过下载离线包的方式进行:
http://www.zeroturnaround.com/update-site/update-site.zip

JRebel安装使用说明

如果不使用默认的jrebel需指定其JAR包的路径 :

JRebel安装使用说明

四、配置 JReBel.xml

右键项目 点击属性就可以看到JRebel选项:

JRebel安装使用说明

选择配置文件的路径即可。

五、启动tomcat,成功安装

最后启动tomcat 就会看到控制台输出相关信息:

JRebel安装使用说明

JRebel-Spring: Monitoring Spring bean definitions in 'jar:file:/E:/WorkSpace/JIUCOOL/WebContent/WEB-INF/lib/org.springframework.conf.jar!/spring/config/default/applicationContext.xml'.
JRebel-Spring: Monitoring Spring bean definitions in 'E:\WorkSpace\JIUCOOL\WebContent\WEB-INF\config\dataContext.xml'.
JRebel-Spring: Monitoring Spring bean definitions in 'E:\WorkSpace\JIUCOOL\WebContent\WEB-INF\config\serviceContext.xml'.
JRebel-Spring: Monitoring properties in 'E:\WorkSpace\JIUCOOL\WebContent\WEB-INF\classes\config.properties'.

说明JREBEL已经配置成功。

14-IDEA安装JRebel热部署插件(2020.2.3版本) 1、JRebel简介 JRebel是一个热部署工具。 IDEA本身没有集成热部署工具,改动代码之后,都需要重新run或者debug,影响开发效率。因而可以在IDEA中安装JRebel插件。 安装和使用JRebel需要注意两点:激活和设置。 2、安装JRebel 【File】----->【Settings】 -----> 【Plugins】 然后选择【Marketplace】,在搜索框中搜索JRebel,找到【JRebel and Xrebelfor intellij】... 阅读详情

相关推荐

共封装光学(CPO):下一代互联革命

Nvidia:产品:Quantum-X Q3450(115.2T,144×800G,2025H2上市)、Spectrum 6800(409.6T,512×800G,2026H2上市);技术路线:TSMC COUPE封装、MRM调制器、光栅耦合、外部激光源(Lumentum/Ayar Labs供应);战略定位:以横向扩展CPO验证供应链,最终聚焦纵向扩展场景(Feynman架构)。

存储随笔 4957

激活JRebel插件

终端输入: java -jar JrebelServer.jar -p 8080 (默认8080端口)服务会自动打开浏览器至 http://localhost:8080/打开IDEA中JRebel & XReble 的设置。2.运行JrebelServer.jar。点击页面中的注册信息进行复制。粘贴复制的信息到IDEA中。1.IDEA插件安装。

普通人一枚 4873

保姆级避坑指南:在NVMe SSD上安装Ubuntu 24.04,搞定RST错误和分区方案

本文提供在NVMe SSD上安装Ubuntu 24.04的详细指南,解决RST错误和分区方案问题。从BIOS设置到分区策略优化,帮助用户充分发挥NVMe固态硬盘性能,避免常见安装陷阱,实现无痛安装和后期调优。

weixin_26976635的博客 560

JRebel4.0 在Eclipse中配置使用说明

1. 双击Eclipse中的Server在打开的配置画面的Overview Tab页中点击【open launch configuration】,然后在弹出画面的【VM arguments】中加入 JVM参数 -javaagent: D:\java\driver\JRebel4.0.1\jrebel.jar   -- 你存放jrebel.jar的位置 (任意) -Dmypro

czk_jianye的专栏 547

第八章 Vite4+Vue3+Vtkjs 完整demo演示

vtk.js是一个基于WebGL的开源3D可视化库,它可以在Web浏览器中呈现高质量的3D图形。vtk.js提供了一个易于使用的API,可以用于创建各种类型的3D可视化,包括科学、医学、工程和地球科学等领域。vtk.js支持多种数据格式,包括VTK、DICOM、STL等,可以轻松地将数据导入到可视化中。此外,vtk.js还支持交互式可视化,用户可以通过鼠标和键盘进行交互,探索和分析数据。采用的vite4+pinia搭建的Vue3项目。

Wait.End的博客 2234

RK3588多核NPU并行加速yolo优化教程:基于线程池的高性能推理实现

本教程详细介绍了RK3588多核NPU的并行加速优化方法。RK3588搭载三个独立NPU核心,总计算能力达6TOPS,但传统单线程方式无法充分发挥其性能。文章从硬件架构分析入手,详细讲解了三核心独立处理架构和多种工作模式,并通过代码示例展示了线程池技术的实现原理。线程池通过预创建工作线程、任务队列和条件变量等核心组件,避免了频繁创建线程的开销,能显著提升NPU的并行处理效率。教程还提供了性能计算公式和内存带宽优化策略,帮助开发者最大化利用RK3588的硬件算力,实现高性能AI推理。

LXY_LOVE36的博客 1023

激活jreble热部署

链接: https://pan.baidu.com/s/13sccSZlw6yE3__qwggX1ew?pwd=ne42 提取码: ne42。从idea 上直接下载版本无法控制。所以可以IInstall Plugin from Disk的方式读取。2 以IInstall Plugin from Disk的方式读取。3 下载我通过网盘分享的文件:JrebelServer.jar。

amhere 832

基于JeecgBoot 3.9.0 开源项目的企业管理平台

基于JeecgBoot 3.9.0 开源项目的企业管理平台

宁波阿成的博客 371

jrebel配置eclipse

JRebel安装使用说明 Wednesday, April 25th, 2012 at 18:12 久酷 开发JAVA或对JAVA感兴趣的朋友,可以参考下。 开发环境下,tomcat对热布署的支持还是比较弱,致使开发过程中浪费大量时间在重起服务上。为了提高开发效率,决定引入Jrebel,它对热布署的支持相对比较全面。 虽然Jrebel官方号称使用它不存在内存泄漏问题,但是占用一

舞动de人生 1万+

高级用法:LangChain 安全防护(Guardrails)

在调用开始时校验请求,可做关键词过滤、身份校验、限流等。= "human":return {}],# 使用],= "human":return {}],

Long_像风一样自由 316

YOLOv8改进 | 主干篇 | 轻量级的低照度图像增强网络IAT改进YOLOv8暗光检测(全网独家首发)

本文给大家带来的改进机制是轻量级的变换器模型:Illumination Adaptive Transformer (IAT),用于图像增强和曝光校正。其基本原理是通过分解图像信号处理器(ISP)管道到局部和全局图像组件,从而恢复在低光或过/欠曝光条件下的正常光照sRGB图像。具体来说,IAT使用注意力查询来表示和调整ISP相关参数,例如颜色校正、伽马校正。模型具有约90k参数和约0.004s的处理速度,能够在低光增强和曝光校正的基准数据集上持续实现优于最新技术(State-of-The-Art, SOTA)

Snu77的博客 7958

服务器搭建系列之11:k8s安装jrebel服务器,激活IDEA代码热更新神器,2022最新版本

准备工作: 下载本人编译生成的jrebel服务端jar包,地址:jrebel服务端jar包 Dockerfile FROM registry.cn-qingdao.aliyuncs.com/fandai/fd-jdk8 ENV PORT 9001 ADD JrebelBrainsLicenseServer.jar /JrebelBrains.jar CMD java -jar /JrebelBrains.jar -p $PORT docker build -t jrebel:latest . d.

cavellpotter的博客 795

【通信协议】GATT 与 BLE HID 工作原理详解

详细介绍BLE HID 跟GATT工作原理与两者的交互关系

以实战经验介绍行业知识 843

JRebel安装使用说明(真正的实现热布署)

开发环境下,tomcat对热布署的支持还是比较弱,致使开发过程中浪费大量时间在重起服务上。发现了Jrebel,它对热布署的支持相对比较全面。 虽然Jrebel官方号称使用它不存在内存泄漏问题,但是占用一定的资源是肯定的,因此不考虑在正式环境下使用热布署。Jrebel除了支持Tomcat还包括Jetty、Resin、Weblogic等等,在使用Jrebel后,期望看到开发人员早上开机启动一次to...

loushi135的专栏 1095

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

Myeclipse7.5设置jrebel安装使用说明

1、从当前文档附件中下载Myeclipse的jrebel插件: jrebel_myeclipse.zip,此插件是从网上找的,支持MyEclipse8+,没有找到对应7.5的,就用这个了,也好使。 2、从当前文档中下载jreble.jar: jrebel-5.3.1.rar,这个也是从网上找的,破过的。下载后解压出来两个文件,jrebel.jar和jrebel.lic,放到...

scorpio_9157的专栏 154

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

jrebel 报错以及无法安装说明

      网上常常使用的jrebel版本和idea 有冲突 ,  比如说 安装 破解的idea 告诉你 这个 不是他们公司的产品  不能 部署项目 。等等诸多问题,在你 想下个正版的时候 发现 正版官网下的 也不行。因为版本不对下对版本 就可以了。                 ---记录了一下自己遇到的问题。  ...

weixin_42226741的博客 1766

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

JRebel 热部署

Jrebel 可快速实现热部署,节省了大量重启时间,提高了个人开发效率。

yy139926的博客 5832

IDEA使用JRebel进行热部署

IDEA使用JRebel进行热部署教程 1. 安装JRebel插件 ​ 在IDEA->Settings-plugin下载Jrebel的插件,下载好了重启程序使插件生效 2. 激活 直接进入到jrebel的配置项中,点击active now链接进入到激活界面,选择Team URL(connect to online licensing service)方式激活 第一行输入: http://jrebel.qekang.com:80/{guid} , guid在https://jrebel.q

江峰的博客 1万+

热部署还在用devtools吗?JRebel不香吗?

持续原创输出,点击上方蓝字关注我原创博客+1,点击左下角阅读原文前往目录前言JRebel收费怎么破?什么是本地热部署?什么是远程热部署?JRebel和devtools的区别如何安装JRe...

码猿技术专栏 2694

vagrant配置之JRebel

1.安装Jrebel插件(目前新版Eclipse已经自带) a.可通过在 D:\programfiles\MyEclipse\MyEclipse8.5\dropins 写: path=D:\programfiles\MyEclipse\MyEclipse8.5\Common\myPlugins\jrebel 并保存为jrebel.link 然后重启MyEclipseb.也可以通过配置bundles.info的方式进行安装(利用handleFile下的MyEclipseConfigPlugins工具进行安装)

阳光码术-Java面试宝典 678
上一篇: arcgis启动rest服务
下一篇: 在MyEclipse 8.x 下安装JBPM工作流插件
lwhen
博客等级 码龄20年 8粉丝 3原创
评论 3
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值