maven项目,httpclient jar包冲突
包含httpclient的jar包
org.apache.thrift:libthrift
org.jboss.resteasy:resteasy-jaxrs
com.alibaba:dubbo
maven引用排除即可!
<dependency> <groupId>com.alibaba</groupId> <artifactId>dubbo</artifactId> <version>${dubbo.version}</version> <exclusions> <exclusion> <artifactId>spring</artifactId> <groupId>org.springframework</groupId> </exclusion> <exclusion> <artifactId>httpclient</artifactId> <groupId>org.apache.httpcomponents</groupId> </exclusion> <exclusion> <artifactId>httpcore</artifactId> <groupId>org.apache.httpcomponents</groupId> </exclusion> </exclusions> </dependency>
作者:青羽