Failing to create new PoolingHttpClientConnectionManager

前端 未结 3 1131
感情败类
感情败类 2021-01-21 03:31

My program contains the following line, and just hangs at this point, and I\'m not quite sure why.

PoolingHttpClientConnectionManager connectionManager = new Po         


        
3条回答
  •  -上瘾入骨i
    2021-01-21 04:30

    The org.apache.http.config.Lookup class is not in httpclient-4.3.1.jar. It is in httpcore-4.3.jar.

    If you are not using Maven, to understand the httpclient dependencies, see http://hc.apache.org/httpcomponents-client-4.3.x/httpclient/dependencies.html

提交回复
热议问题