Spring Boot DevTools Live Reload Not Working

已回答

Hi,

I wanted to give IDEA Ultimate a try before the purchase. I created a simple Spring Boot app with DevTools. After making changes in code and save (Ctrl + S), the server should restart automatically. But, it didn't. 

Things I tried,

1. Enabled "Build Automatically" in Settings of the project.

2. Registry -> "compiler.automake.allow.when.app.running" ->THIS IS NOT FOUND IN MY REGISTRY. Searched as well as looked for it manually. No luck. Here is a screenshot = Upload ID: 2021_07_31_8Dw5isT5E5NiuhAK (file: IDEA.PNG)

 

 

Help me please.

2

Hi - the option was moved to the Advanced Settings:

2

No, this is not working. I am using InteliJ 2022.2.1. I am using spring with devtools & using java 18. Already followed as what you told. But still it's not working. Any suggestions? Thanks.

4

Pratamadhanuaji

Please leave a comment in https://youtrack.jetbrains.com/issue/IDEA-264926 with your env/project specs & steps you already tried to work around the problem.

If possible, also attach a demo project where this can be reproduced.

0

Vorayash0716 Thank you, its working. I followed the steps in the video.

2

Enable these two settings. And restart your server. :-)

2

The advice from Vibhor Dubey works perfectly, thank you!

0

Vibhor Dubey  right solution. its working :) thanx 

0

请先登录再写评论。