1. @ SpringBootConfiguration comment
Spring framework @Configuratin annotations are provided, a configuration represents the current class is class.
@SpringBootConfiguration annotations and notes are @Configuratin may be configured to identify a category scanned by the scanner assembly,
But @SpringBootConfiguration is Spring Boot been re-naming and packaging.
2. @ EnableAutoConfiguration comment
@EnableAutoConfiguration annotation is a combination of notes by @AutoConfigurationPackage and annotations
@Import ({AutoConfigurationImportSelector.class}) annotation components.
(1) @AutoConfigurationPackage comment
The main effect of the annotation is to obtain the root item of the main program, thereby specifying the position of the following package assembly of the scanner to be scanned.
(2) @Import (AutoConfigurationImportSelector.class {}) annotations