On Tue, 2018-04-10 at 09:53 +0000, Khare, Aparna wrote: > Hi All , > > We are also trying to use the lastest HTTPClient 4.5.5 with Asycn > Httpclient .. > > When we try to bundle the latest Async HttpClient we are not able to > start the application because of missing dependency.. we need to find > the relevant OSGI jars httpclient-cache-4.5.3 etc which we could > bundle > > Can someone guide here ... > > Thanks, > Aparma
Aparma You need to latest version of HttpCore 4.4.x OSGi bundle and HttpClient 4.5.x OSGi bundle. http://hc.apache.org/downloads.cgi Oleg. > > -----Original Message----- > From: Benson Margulies [mailto:bimargul...@gmail.com] > Sent: Wednesday, September 14, 2016 5:44 PM > To: HttpClient User Discussion <httpclient-users@hc.apache.org> > Subject: Versions and osgi and async and such > > I am struggling to maintain some code that wants to use the latest > 4.x > version of http asynchronous client via OSGi. > > The latest async client is 4.1.2. I've had this working, but a small > change > has put me in a state where various things implode, so I'm trying to > start > over from first principles. > > When I use that as a dependency, I end up with ... > > > java.lang.NoSuchMethodError: > org.apache.http.util.Asserts.check(ZLjava/lang/String;Ljava/lang/Obje > ct;)V > at > org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRu > nning(CloseableHttpAsyncClientBase.java:90) > at > org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(Inter > nalHttpAsyncClient.java:123) > at > org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(Clos > eableHttpAsyncClient.java:75) > at > org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(Clos > eableHttpAsyncClient.java:108) > at > org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(Clos > eableHttpAsyncClient.java:92) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org