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] [Created] (HTTPASYNC-93) OSGi version of the httpclientasync misses import
Date Wed, 23 Sep 2015 17:02:04 GMT
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: 


As far as I can see, the component does not work at all in OSGi, as the simplest initialization
already fails:


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

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

View raw message