You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/17 13:20:04 UTC
[jira] [Commented] (HTTPCLIENT-1611) NoClassDefFoundError:
org/apache/http/ssl/SSLContexts in httpclient-osgi
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16014009#comment-16014009 ]
ASF GitHub Bot commented on HTTPCLIENT-1611:
--------------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/httpcomponents-client/pull/26
> NoClassDefFoundError: org/apache/http/ssl/SSLContexts in httpclient-osgi
> ------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1611
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1611
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 4.4 Final
> Reporter: Timo Naroska
> Fix For: 4.4.1
>
>
> HttClient throws NoClassDefFoundError in context of OSGi. This is due to a missing package-import for org.apache.http.ssl
> {noformat}
> java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts
> at org.apache.http.conn.ssl.SSLConnectionSocketFactory.getSocketFactory(SSLConnectionSocketFactory.java:172)
> at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.getDefaultRegistry(PoolingHttpClientConnectionManager.java:109)
> at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:120)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org