auto-configuration

Spring Boot's mechanism for creating infrastructure beans automatically when their libraries are on the class path and no bean of your own replaces them.

In more detail

Adding the web starter brings a web server and Spring MVC; adding a database driver brings a data source. Each auto-configuration sits behind conditions, and it backs away when you define your own bean. The condition evaluation report explains which ones matched and why.

Related terms

Taught in

References