@EnableAutoConfiguration annotation means to enable automatic configuration.
@ComponentScan package scan annotations.
Principles of Automated Configuration
The combined annotation @Spring BootAppliction can replace @EnableAutoConfiguration and @ComponentScan