Ah! My mail went out without noticing :)

so I continue:

It seems like this jar exposes the org.apache.http package:
org.apache.httpcomponents
<http://mvnrepository.com/artifact/org.apache.httpcomponents> » httpcore
<http://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore>
So you need to install that one.

Regards,
Morgan

2015-08-19 13:36 GMT+02:00 Morgan Hautman <[email protected]>:

> Hi,
>
> I gonna help you understand your problem.
> The problem is you're missing the package "org.apache.http" in karaf.
> So you need to find a bundle/jar who export's that package.
>
>
>
> 2015-08-19 6:19 GMT+02:00 abhilashb <[email protected]>:
>
>> Hi All,
>>
>> I have a small issue.
>>
>>
>>
>> I have used Http-Client in my code. My Manifest file looks like below
>>
>>
>> Manifest-Version: 1.0
>> Bundle-ManifestVersion: 2
>> Bundle-Name: DNGService
>> Created-By: 1.7.0_40 (Oracle Corporation)
>> Bundle-SymbolicName: com.bosch.dng
>> Bundle-Version: 1.0.3
>> Bundle-Activator: com.bosch.dng.Activator
>> Bundle-Vendor: Abhilash
>> Bundle-Localization: plugin
>> Import-Package: org.osgi.framework,org.apache.camel,
>>
>> org.apache.camel.impl,org.apache.camel.builder,org.apache.camel.builder.xml,
>>
>> org.apache.camel.model,org.apache.camel.component,org.apache.camel.component.http,org.apache.camel.core.osgi,org.apache.camel.spi,org.w3c.dom,org.apache.http
>>
>> Error Log :
>>
>> 015-08-18 15:18:23,984 | WARN  | raf-3.0.1/deploy | fileinstall
>> | 11 - org.apache.felix.fileinstall - 3.2.8 | Error while starting bundle:
>>
>> file:/D:/DXA%20Middleware%20Softwares/dexterlabs-dxa_deploy-4250f2d012b0/windows/monitor/karaf/apache-karaf-3.0.1/deploy/com.bosch.dng.jar
>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>> com.bosch.dng [608]: Unable to resolve 608.0: missing requirement [608.0]
>> osgi.wiring.package; (osgi.wiring.package=org.apache.http)
>>         at
>>
>> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)[org.apache.felix.framework-4.2.1.jar:]
>>         at
>>
>> org.apache.felix.framework.Felix.startBundle(Felix.java:2037)[org.apache.felix.framework-4.2.1.jar:]
>>         at
>>
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.2.1.jar:]
>>         at
>>
>> org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1263)[11:org.apache.felix.fileinstall:3.2.8]
>>         at
>>
>> org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1235)[11:org.apache.felix.fileinstall:3.2.8]
>>         at
>>
>> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:524)[11:org.apache.felix.fileinstall:3.2.8]
>>         at
>>
>> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:308)[11:org.apache.felix.fileinstall:3.2.8]
>>
>>
>> Please provide me the solution 
>>
>> Regards,
>> Abhilash B.
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Karaf-issue-http-client-related-tp4041922.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>
>

Reply via email to