PrepZone Logo
PrepZone
Back to Spring Boot

Spring Boot · Medium

What is auto-configuration in Spring Boot? How does it work?

Spring BootAuto-Config & StartersAuto-ConfigurationSeniorStaff

Answer preview

Overview: Auto-configuration is Spring Boot's mechanism to automatically configure the application context based on the libraries on the classpath and the properties set — without requiring any explicit bean definitions from the developer.…