解决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
相关文章
相关标签/搜索