java - Spring Boot: working with HotSwap restarts Spring Boot - member variables get initialized -


i using spring boot in intellij idea. in java project, use flag compiler.automake.allow.when.app.running in registry).

whenever change in code during debugging, spring boot gets restarted.

as consequence, loose contents of member variables of other classes. how can prevent this?


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -