springboot测试类中遇到Unable to find a @SpringBootConfiguration的情况 依据提示,将@SpringBootTest更改为@SpringBootTest(classes = main方法名.class)