SPRINGBOOT02_ Introduction to automatic configuration principle, Lombok, dev tools, quick initialization boot project
① . view the main startup class as a whole
① . main startup classes are as follows:
@SpringBootApplication
public class MainApplication {
public static void main(String[] args) {
SpringApplication.run(MainApplication.class, args);
}
}
② 2. Key analysis @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan
@Ta ...
Posted by GarroteYou on Tue, 16 Nov 2021 05:06:10 -0800