SpringBootNoWebMaven基本开发测试项目 test01.启动时就扫描包法 test02.在对应类中@Component扫描包法 test03.在对应类中@Component扫描包法,用上下文ApplicationContext取得Bean test04.在对应类中@Component扫描包法,用spring-boot-starter-test测试