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: [email protected]
For additional commands, e-mail: [email protected]