使用spring 做测试的时候,引入的release为3.1.0,但是却报 AnnotatedElementUtils not found
原因是其他的 依赖的包 间接地引入了 spring的其他版本,例如: spring-data-redis-1.5.0.RELEASE 间接依赖了spring-tx-4.0.9.RELEASE,而我又没有显示的引入spring-tx-3.1.0的版本。
如下图所示:
使用spring 做测试的时候,引入的release为3.1.0,但是却报 AnnotatedElementUtils not found
原因是其他的 依赖的包 间接地引入了 spring的其他版本,例如: spring-data-redis-1.5.0.RELEASE 间接依赖了spring-tx-4.0.9.RELEASE,而我又没有显示的引入spring-tx-3.1.0的版本。
如下图所示:
转载于:https://my.oschina.net/u/2402049/blog/491808