the trustAnchors parameter must be non-empty
背景 :之前封装的http请求工具类,请求第三方,一直提示没有凭证。
解决方案:后来,才发现原来是服务器的jdk版本是OpenJdk,最后切换成SE jdk1.8.0_45后,启动,发送请求,Objk!
哈哈
the trustAnchors parameter must be non-empty
背景 :之前封装的http请求工具类,请求第三方,一直提示没有凭证。
解决方案:后来,才发现原来是服务器的jdk版本是OpenJdk,最后切换成SE jdk1.8.0_45后,启动,发送请求,Objk!
哈哈