Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(

完整报错信息 java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=…) with your test 解决: 测试类的路径和非测试类的路径不一致导致,修改
相关文章
相关标签/搜索