“@SpringBootApplication annotation is equivalent to using @Configuration @EnableAutoConfiguration @ComponentScan”
@Configuration -
@EnableAutoConfiguration -
@ComponentScan - Configures component scanning directives for use with @
Configuration
classes. Provides support parallel with Spring XML's <context:component-scan>
element.