Vahobjon Tolibov
Vahobjon Tolibov

Reputation: 91

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.

Upvotes: 4

Views: 4562

Answers (2)

IamDMahesh
IamDMahesh

Reputation: 159

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!

Upvotes: 7

Vahobjon Tolibov
Vahobjon Tolibov

Reputation: 91

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.

Upvotes: 4

Related Questions