Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

spring-dev-tools does not reloading changes in project, Intellij idea

Maven dependency spring-boot-devtools does not reloading changes in a project automatically.

I have solved this problem by changing parameters of "running configuration".

Go to edit configuration-> In the Spring boot section you will see -

Running Application Update Polices - options

change - "On 'Update' action - to -> Update trigger file and - "On frame deactivation - to -> Update classes and resources.

Apply changes and press OK.

like image 496
Vahobjon Tolibov Avatar asked Oct 29 '25 13:10

Vahobjon Tolibov


2 Answers

The problem has been fixed for me after following the below steps.

Please go to the Top Right Corner of your "IntelliJ IDE" and then click on the ellipsis symbol (three vertical dots)->choose "Configure Edit Tabs"

  1. Expand "Build, Execution and Deployment" -> Compiler-> Check the option "Build Project Automatically"
  2. Click on "Advanced Settings" -> Select the Check the option under Compiler -> "Allow auto-make to start even if developed application is currently running"

Please note that I'm using the "IntelliJ IDEA 2022.2" version.

Hope this helps!

like image 53
IamDMahesh Avatar answered Oct 31 '25 10:10

IamDMahesh


I have solved this problem by changing parameters of "running configuration".

Go to edit configuration-> In the Spring boot section you will see -

Running Application Update Polices - options

change - "On 'Update' action - to -> Update trigger file and - "On frame deactivation - to -> Update classes and resources.

Apply changes and press OK.

like image 24
Vahobjon Tolibov Avatar answered Oct 31 '25 11:10

Vahobjon Tolibov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!