jar包冲突怎么办?

1、如何定位版本号:

        ClassLoader classLoader = SSLConnectionSocketFactory.class.getClassLoader();
        URL resource = classLoader.getResource("org/apache/http/conn/ssl/SSLConnectionSocketFactory.class");
       logger.info("xxxxxxxxx"+resource);

2、查看依赖树

mvn dependency:tree -Dverbose -Dincludes=org.apache.http.conn.ssl.SSLConnectionSocketFactory

你可能感兴趣的:(maven,maven)