测试积点老人 发表于 2022-8-5 13:09:17

SpringBoot的Junit测试启动报错

报错内容如下:
java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration,

   you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test



页: [1]
查看完整版本: SpringBoot的Junit测试启动报错