Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The method of Hot deployment of JRebel in IDEA

Shulou Source: shulou.com Published: 2022-06-02 09:48:06 10月03日 Update

This article introduces the relevant knowledge of "JRebel's method of realizing hot deployment in IDEA". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!

Intellij Hot Deployment Plugin JRebel

Project requirements, I have been using eclipse, I also want to switch to IDEA, at first, very unaccustomed. After a few days of slow groping and getting used to it, I found that IDEA was really easy to use. Dark's interface is what I like, and intelligent prompts make writing code no longer boring.

Unfortunately, IDEA itself does not have integrated hot deployment tools. After making initial changes to the code, you need to re-run or debug, which greatly reduces development efficiency. After some searching, JRebel was found to be a good hot deployment tool, so write it down here as a memo.

There are two things you need to pay attention to when installing and using JRebel: activation and settings

Install JRebel

Click File->Settings->Plugins->Brows Repository in IDEA.

2. Enter JRebel in the search box to search

JRebel for Intellij

4、install

5. Restart IDEA after installation

Activate JRebel

JRebel is not a free plugin and requires activation to be used.

1, first go to github to download a reverse proxy software, I downloaded the windows x64 version.

download address

2. Double-click to run the program we downloaded

Connect to online licensing service

Enter http://127.0.0.1:8888/d3545f42-7b88-4a77-a2da-5242c46d4bc2 in the first line

Enter the correct email format in the second line, e.g. test@123.com

Click the change liense button below to verify activation

Tip: d3545f42-7b88-4a77-a2da-5242c46d4 bc2 is UUID, can be generated by itself, and must be UUID to pass verification

related settings

Although JRebel was installed and successfully activated at this point, when we used JRebel debug, we found that hot deployment did not work after modifying the code. Because there are two more places to set up

1. Set project automatic compilation

2, Set compile.automake.allow.when.app.running

Ctrl+Shift+A or help->find action... open

Search Registry

Find compiler.automake.allow.when.app.running and

5 Make sure it starts in Jrebel mode

6. Ensure that the project is hot deployed

"JRebel in IDEA to achieve hot deployment method" content introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

Tags: Activation code project search input method reality content tools plug-ins more knowledge installation hints verification practical boring regret learning next Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn MariaDB Redmi Apple macOS