Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTe...

在springboot测试中报错。

Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test

后来发现是包名路径不一样


你可能感兴趣的:(Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTe...)