I understand that @SpringBootApplication
is used to mark the main class of a spring application.
Here I see that it "is equivalent to using @Configuration
, @EnableAutoConfiguration
and @ComponentScan
". But why is there needed a @Configuration
if it is already made automatically with @EnableAutoConfiguration
.