hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Versions and osgi and async and such
Date Wed, 14 Sep 2016 13:41:04 GMT
I wasn't. There's a servicemix OSGi jar that embeds an old copy of core
that snuck into the classpath.

On Wed, Sep 14, 2016 at 8:52 AM, Stefan Magnus Landrø <
stefan.landro@gmail.com> wrote:

> are you using the correct core version?
>
> Sendt fra min iPhone
>
> > Den 14. sep. 2016 kl. 14.13 skrev Benson Margulies <
> bimargulies@gmail.com>:
> >
> > 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/Object;)V
> >        at
> > org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.
> ensureRunning(CloseableHttpAsyncClientBase.java:90)
> >        at
> > org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(
> InternalHttpAsyncClient.java:123)
> >        at
> > org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(
> CloseableHttpAsyncClient.java:75)
> >        at
> > org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(
> CloseableHttpAsyncClient.java:108)
> >        at
> > org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(
> CloseableHttpAsyncClient.java:92)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message