The problem was in version incompatibility, if you upgrade Spring Boot to newer version the problem stops occurring.