Intellij hot deployment plug JRebel_ reprint

The following article reprinted friends, it is noted: https: //blog.csdn.net/weixin_42831477/article/details/82229436

Intellij hot deployment plug JRebel

Project requirements, has been using eclipse, I have to use IDEA, at the beginning, not used. After several days of slowly groping and habits, we found that IDEA really useful. dark interface is my favorite, intelligence tips but also to write code that is no longer boring. Unfortunately, IDEA does not have an integrated hot deployment tools, change the code after a start, we need to re-run or debug, so that development efficiency greatly reduced. After searching for some time, I found JRebel is a good hot deployment tool, in this record sum, as the memo. Installation and use JRebel Two things to note: activation and setup

Installation JRebel

1, in the IDEA in one click File-> Settings-> Plugins-> Brows Repositories 

2, enter a search in the search box JRebel 

3, find JRebel for intellij 

4、install 

5. After installing the required restart IDEA

Activation JRebel

JRebel is not a free plug-in to use after the need to activate. 

1, first of all go to github download a reverse proxy software, I downloaded the windows x64 version. Download: https: //github.com/ilanyu/ReverseProxy/releases/tag/v1.4

2. Double-click the downloaded program we run

3, one click at IDEA in File-> Settings-> JRebel and find the activation screen (because I already activated, click change liense enter the activation interface, can not remember how to enter the outset)

4. Select JRebel activated in connect to online licensing service 

The first line of input http://127.0.0.1:8888/d3545f42-7b88-4a77-a2da-5242c46d4bc2 

第二行输入正确的邮箱格式,例如: [email protected]  再点击以下change liense 按钮验证激活 

提示:d3545f42-7b88-4a77-a2da-5242c46d4bc2为UUID,可以自己生成,并且必须是UUID才能通过验证

5、最后别忘了把JRebel设置为offline模式 点一下work offline

相关设置

此时虽然安装好了JRebel并成功激活了,但是我们使用JRebel debug的时候,发现修改代码后,热部署不起作用。因为还需要设置两个地方 

1、设置项目自动编译

2、设置 compiler.automake.allow.when.app.running 

ctrl+shift+A 或者 help->find action…打开 

搜索registry 

找到 compiler.automake.allow.when.app.running 并✔

Guess you like

Origin www.cnblogs.com/liuyangjava/p/12204655.html