解決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 testjava 是由於我沒在根目錄下寫一個spring
相關文章
相關標籤/搜索