HttpClient httpClient = new DefaultHttpClient()的时候报错
java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;[Ljava/lang/String;[Ljava/lang/String;Ljavax/net/ssl/HostnameVerifier;)V
之前pom里面依赖了4.3的httpClient,导入sdk后就把那个依赖删了,还是不行
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|