@SpringBootApplication(scanBasePackages = “???”) 如果扫包错误会提示各种找不到bean的错误,spring无法启动 检查方法 每一个类前面要有一个这样的圆圈才是正确装了bean