spring-test 依赖冲突问题解决 Could not load TestContextBootstrapper

报错: Could not load TestContextBootstrapper

解决方案:spring-test的版本必须和spring-core的版本一致不然就会出现依赖冲突

artifact:
https://mvnrepository.com/artifact/org.springframework/spring-test/5.2.8.RELEASE

相关文章:
https://stackoverflow.com/questions/28013452/could-not-load-testcontextbootstrapper-spring-unit-testing

posted @ 2021-01-31 21:14  StackOcean  阅读(1005)  评论(0编辑  收藏  举报