karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhilashb <abhilash.basavara...@in.bosch.com>
Subject Re: Karaf issue - http-client related
Date Thu, 20 Aug 2015 05:11:55 GMT
Hello, 

When tried to install httocore getting below error - 

Please help me.

Caused by: org.osgi.framework.BundleException: Unable to cache bundle:
mvn:org.apache.httpcomponents/httpcore/4.4.1
	at org.apache.felix.framework.Felix.installBundle(Felix.java:2870)
	at
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
	at org.apache.karaf.bundle.command.Install.doExecute(Install.java:43)
	... 30 more
Caused by: java.io.IOException: Error resolving artifact
org.apache.httpcomponents:httpcore:jar:4.4.1: Could not transfer artifact
org.apache.httpcomponents:httpcore:jar:4.4.1 from/to central
(http://repo1.maven.org/maven2/): Error transferring file: repo1.maven.org
	at
org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:258)
	at
org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolveFile(AetherBasedResolver.java:239)
	at
org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:223)
	at
org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:122)
	at
org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:524)
	at
org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:165)
	at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:77)
	at
org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:878)
	at
org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:550)
	at
org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:153)
	at
org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277)
	at org.apache.felix.framework.Felix.installBundle(Felix.java:2866)
	... 32 more

Regards,
Abhilash B.



--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-issue-http-client-related-tp4041922p4041960.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
View raw message