maven怎么排除jar包冲突
1个回答
展开全部
exclusions:
<dependency>
<groupId>aaa.bbb.ccc</groupId>
<artifactId>abc-def</artifactId>
<version>0.0.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>aaa.bbb.ccc</groupId>
<artifactId>abc-def</artifactId>
<version>0.0.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询