idea下springboot单元测试报错
来源:3-9 自定义SpringBoot起步依赖stater
Ryan0828
2018-06-17
java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
我按照网上的一些方法去尝试修改了一些配置,但是都没有解决
写回答
1回答
-
格鲁
2018-06-24
test类package要在root package下
00
相似问题