java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @Context

springboot单元测试出现 java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 通过百度解决,就是说将测试类的包名改成和普通
相关文章
相关标签/搜索