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

不能找到对应的带有@SpringBootConfiguration 的类,你需要将它放在包的最顶层。

原文地址:https://www.cnblogs.com/alterhu/p/6906332.html