hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1611) NoClassDefFoundError: org/apache/http/ssl/SSLContexts in httpclient-osgi
Date Thu, 12 Feb 2015 17:05:12 GMT

    [ 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 <tnaroska@adobe.com>
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message