@SpringBootTest測試報java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration.錯誤

 使用SpringBootTest測試的時候報錯:java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test  Test1類 @RunWi
相關文章
相關標籤/搜索