hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Lyaruu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPASYNC-93) OSGi version of the httpclientasync misses import
Date Wed, 23 Sep 2015 17:12:05 GMT

    [ https://issues.apache.org/jira/browse/HTTPASYNC-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904838#comment-14904838
] 

Frank Lyaruu commented on HTTPASYNC-93:
---------------------------------------

I think it is already fixed in trunk, so I'll work with a snapshot for now.
A release at some point would be nice.

regards, Frank

> 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
>
> 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


Mime
View raw message