This happens with IntelliJ Ultimate 2019 version as well. I find that it happens for a maven configuration. If I run the spring boot app with Spring boot configuration (not as MAVEN) then it works fine.