// 引导类,作用是:启动后初始化spring容器,扫描引导类所在包加载bean @SpringBootApplication public class Springboot0101QuickstartApplication { public static void main(String[] args) { SpringApplication.run(Springboot0101QuickstartApplication.class, args); } }