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

springboot測試時出現:java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 是因爲我沒在根目錄下寫一個springboot
相關文章
相關標籤/搜索