这是因为Test下的测试类没有在启动类的文件夹下,新建文件夹,将测试类放到启动类的下面即可
Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest
猜你喜欢
转载自www.cnblogs.com/zxq-Study-Java/p/10034298.html
今日推荐
周排行