What is the primary mechanism Spring Boot uses to trigger auto-configuration based on the contents of the classpath?
-
A
Scanning for classes annotated with @Component in third-party JARs.
-
B
The presence of specific 'starter' dependencies in the build configuration.
-
C
Explicitly importing configuration classes using @Import in the main application class.
-
D
Reading bean definitions from XML files found in the META-INF directory.