Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

How to use httpclient-4.1.jar and httpcore-4.1.jar under repository/usr correctly

$
0
0

Hi,

I need to use the package org.apache.http.client, and org.apache.http.util inside my plugin. I found that there are two version of Apache http client inside the repository: version 3.1 (com.springsource.org.apache.commons.httpclient-3.1.0.jar) and version 4.1 (httpclient-4.1.jar); same for the httcore. When I add these under Import-Package:

org.apache.http.client;version="[4.1.0,4.1.0]",

org.apache.http.util;version="[4.1.0,4.1.0]"

It complaints that it could not find the package with version 4.1.0, how do I resolve this.

Thanks,

  - hdo0917


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>