Because we are not going to scan the world to find out what autoconfiguration classes exist in your project. For example, autoconfiguration is the usual @Configuration class.
The way to discover a Spring component is through explicitly declaring or checking the components, but we need to know the list of automatic configuration classes before we start the context.
source share