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>

 

posted @ 2018-09-13 13:39  青羽  阅读(1692)  评论(0编辑  收藏  举报