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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -