标签:strong pos 其他 mvn maven配置 http pid codehaus 冲突
1、xfire与spring冲突解决方法,将spring从maven配置中去掉:
<!-- https://mvnrepository.com/artifact/org.codehaus.xfire/xfire-all --> <dependency> <groupId>org.codehaus.xfire</groupId> <artifactId>xfire-all</artifactId> <version>1.2.6</version> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> </exclusion> </exclusions> </dependency>
2、xfire与其他webservice的jar包冲突,maven配置文件:
<!-- https://mvnrepository.com/artifact/org.codehaus.xfire/xfire-core --> <dependency> <groupId>org.codehaus.xfire</groupId> <artifactId>xfire-core</artifactId> <version>1.2.6</version> </dependency> <!-- https://mvnrepository.com/artifact/org.codehaus.xfire/xfire-aegis --> <dependency> <groupId>org.codehaus.xfire</groupId> <artifactId>xfire-aegis</artifactId> <version>1.2.6</version> </dependency>
如果有用,请随手顶一下,让更多的人看到,谢谢!
标签:strong pos 其他 mvn maven配置 http pid codehaus 冲突
原文地址:https://www.cnblogs.com/mosEast/p/8745880.html