hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1547) HttpClient OSGi bundle doesn't import the package "javax.naming"
Date Thu, 21 Aug 2014 12:01:12 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1547.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.4 Alpha2
                   4.3.6

Patch committed to SVN trunk and 4.3.x branch.

Oleg

> HttpClient OSGi bundle doesn't import the package "javax.naming"
> ----------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1547
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1547
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.5
>            Reporter: Willem Jiang
>             Fix For: 4.3.6, 4.4 Alpha2
>
>         Attachments: HTTPCLIENT-1547.patch
>
>
> When I running some test which uses HttpClient 4 in the OSGi platform I got the error
which is caused by missing package importing of "javax.naming"
> {code}
> java.lang.ClassNotFoundException: javax.naming.InvalidNameException not found by org.apache.httpcomponents.httpclient
[113]
> 	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)
> 	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)
> 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:124)
> 	at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:708)
> {code} 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message