[
https://issues.apache.org/jira/browse/HTTPCLIENT-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14318552#comment-14318552
]
ASF GitHub Bot commented on HTTPCLIENT-1611:
--------------------------------------------
GitHub user tnaroska opened a pull request:
https://github.com/apache/httpclient/pull/26
HTTPCLIENT-1611: NoClassDefFoundError: org/apache/http/ssl/SSLContexts i...
...n httpclient-osgi
Adds the missing import-package to httpclient-osgi.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tnaroska/httpclient trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/httpclient/pull/26.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #26
----
commit 4d8149fdfaad0c8595cd2727a7e4a6ee8eaea0b0
Author: tnaroska <[email protected]>
Date: 2015-02-12T17:01:07Z
HTTPCLIENT-1611: NoClassDefFoundError: org/apache/http/ssl/SSLContexts in
httpclient-osgi
----
> 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
> 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.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]