Skip to content

基础

SpringBoot运行原理

@ComponentScan没有配置basepackage默认情况下,springboot会扫描@SpringBootApplication注解所在类的所在包以及子包,并启动springboot应用。