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

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

Frank Lyaruu created HTTPASYNC-93:
-------------------------------------

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