httpclient 报错 URI does not specify a valid host name

使用httpclient.execute (CloseableHttpClient)时报错:URI does not specify a valid host name,意思是uri错误

原因:忘了加http:// ,加上就好了

发布了11 篇原创文章 · 获赞 1 · 访问量 2153

猜你喜欢

转载自blog.csdn.net/zhanghe_zht/article/details/105360060
今日推荐