@interface SpringBootApplication is annotated with @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan.
@interface SpringBootConfiguration is annotated with @Configuration, so this annotation is also included, but not directly
A. @Configuration This annotation indicates that the class has @Bean definition methods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime.
B. @ComponentScan This annotation configures component scanning directives for use with @Configuration classes. Provides support parallel with Spring XML's context:component-scan element.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Peit
6 months, 3 weeks agoquakquak3
6 months, 2 weeks ago[Removed]
10 months, 3 weeks agoquakquak3
6 months, 2 weeks ago