TestContextAnnotationUtils

Springboot 测试启动报错 java.lang.ClassNotFoundException: org.springframework.test.context.TestContextAnnotationUtils

在启动SpringBoot测试用例时报错: 原因: 版本不一致 在pom.xml中没有写明版本,spring-test 使用的5.2.10版本 解决: 1、将spring-boot-test 和 spring-boot-start-test 版本统一为2.3.5 2、去掉pom.xml 中对spri ......
共1篇  :1/1页 首页上一页1下一页尾页