You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2015/09/23 21:05:04 UTC

[jira] [Resolved] (HTTPASYNC-93) OSGi version of the httpclientasync misses import

     [ https://issues.apache.org/jira/browse/HTTPASYNC-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPASYNC-93.
----------------------------------------
       Resolution: Duplicate
    Fix Version/s: 4.1.1

> OSGi version of the httpclientasync misses import
> -------------------------------------------------
>
>                 Key: HTTPASYNC-93
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-93
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: 4.1
>            Reporter: Frank Lyaruu
>             Fix For: 4.1.1
>
>
> The HTTPAsyncClient OSGi bundle misses an import statement. It is pretty much exactly the same problem as: 
> https://issues.apache.org/jira/browse/HTTPCLIENT-1611
> As far as I can see, the component does not work at all in OSGi, as the simplest initialization already fails:
> HttpAsyncClients.createDefault();
> Leads to:
> java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts
> 	at org.apache.http.impl.nio.client.HttpAsyncClientBuilder.build(HttpAsyncClientBuilder.java:654)
> 	at org.apache.http.impl.nio.client.HttpAsyncClients.createDefault(HttpAsyncClients.java:62)
> 	at com.dexels.sharedconfigstore.consul.impl.LongPollingHttpListenerImpl.activate(LongPollingHttpListenerImpl.java:59)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org