spring-boot-lazy-initialization Demo to try the new Spring Boot 2.2 feature which allows you to initialize a Spring Boot application lazily by only initializing the required beans. ##How it works Set to true: spring.main.lazy-initialization More info can be found here.