Use the Java hot deployment plug-in JRebel in IDEA

Idea often needs to be restarted during development, which wastes time and reduces development efficiency. JRebel is a great hot deployment tool that makes code work without reboots, which greatly improves development efficiency and hence retention.

Install the JRebel plug-in

1. Click File->Settings->Plugins->Brows Repositories in IDEA

2. Search by typing JRebel in the search box and install when found

3. After the installation, restart IDEA

Activate the equal

JRebel is not a free plug-in and requires activation to use.

1. Go to Github and download a reverse proxy

Download address

https://github.com/ilanyu/ReverseProxy/releases/tag/v1.4
Copy the code

2. Run the program as instructed

3. In IDEA, go to File->Settings->JRebel and find the activation screen

4. Select Connect to Online Licensing Service in JRebel Activated

The first line the enter http://127.0.0.1:8888/abcd7299djfls enter the correct email format, for example: [email protected] and then click on the following change liense button to activate tip: Abcd7299djfls is a UUID, which can be generated by itself and must be a UUID to pass verification

Finally, set Jrebel to Offline mode for offline use.

Other Settings

Now that JRebel is installed and activated, two more places need to be set up

1. Set the project to compile automatically

2, set up the compiler. Automake. Allow. The when. App. Running

CTRL + Shift +A or help->find action… Open the

Search the registry and find the compiler. Automake. Allow. The when. App. Running and ✔

Now you can open the project, select JRebel Debug to start, and after modifying the code, just Ctrl+Shift+F9, you can see that it has been reloaded and you are happy to develop.