这是一个在引入pom依赖关系时,出的问题,具体解决办法如下
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.0.5.RELEASE</version>
<scope>test<scope/>
</dependency>
改为:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.0.5.RELEASE</version>
</dependency>
本文介绍了一种在引入pom依赖关系时遇到的问题,并提供了解决方案。具体来说,通过调整Maven配置文件中关于spring-test依赖的scope部分,可以成功解决依赖冲突问题。

499

被折叠的 条评论
为什么被折叠?



