@SpringBootApplication is a class level annotation used to enable auto-configuration, component scan and to define extra configuration in spring boot application. Spring boot application starts the execution from a class which annotated with
@SpringBootApplication. This @SpringBootApplication annotation is combination of the following three annotations:
@EnableAutoConfiguration
@ComponentScan
@Configuration
Post a Comment
Post a Comment