Eclipse configuration hot deployment tutorial SpringBoot + JRebel

Now more and more projects use SpringBoot for waterfall development, and often modify very few codes (such as configuration files or java code) and need to restart the server to see if the modification is successful, resulting in a waste of time. Hot deployment does not need to be restarted. Server, you can view the modified effect SpringBoot and other hot deployments to create spring-boot-devtools to see personal preference

Installation and use of JRebel under Eclipse

You can directly download the official one and need to restart after installation

 

 

2 After the installation is complete, there will be an additional view option in the upper right corner of eclipse, and an additional JRebel menu in the Help menu.

 

 

 

 

3 Click Help—->JRebel—->Activation to enter the activation interface for activation

 

The following describes how to obtain the activation code. It took a long time to find the available one on the Internet (free, you can always click to get it)

https://tools.hexianwei.com/#/tools/jrebel

 

 

 4 Successful activation The next step is to configure JRebel (emphasis)

First, you need to configure the reload time issue (that is, how many seconds will JRebel wait after your project is changed before going to hot reload the project)

Then you need to tick your project

This place can be removed

You can run the project, right-click the project, click Run As—->Run Configuration, configure the running parameters, and then Run

Looking at the console, the following content shows that JRebel monitoring is successful:

If you don’t understand, you can leave a message and I will reply if you see it 

 

The above activation code cannot be activated, you can use the activation code https://jrebel.qekang.com/2771b1d7-044e-48cc-8227-e60a6e039916

Guess you like

Origin blog.csdn.net/qq_39008613/article/details/101755966