java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
在@SpringBootTest注解后加主应用 Application.class
java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
在@SpringBootTest注解后加主应用 Application.class
转载于:https://my.oschina.net/u/4107179/blog/3043138