HttpPost httpPost = new HttpPost(REPORT_URL);
httpPost.setConfig(requestConfig); 报The method setConfig(RequestConfig) is undefined for the type HttpPos错误
解决办法:
httpClient jar 4.4以后的jar包c才有httpPost.setConfig方法,下载最新的包
HttpPost httpPost = new HttpPost(REPORT_URL);
httpPost.setConfig(requestConfig); 报The method setConfig(RequestConfig) is undefined for the type HttpPos错误
解决办法:
httpClient jar 4.4以后的jar包c才有httpPost.setConfig方法,下载最新的包