output: karaf@root()> install mvn:com.zaxxer/HikariCP/2.3.6 Bundle IDs: Error executing command: Error installing bundles: Unable to install bundle mvn:com.zaxxer/HikariCP/2.3.6
karaf@root()> log:display <snip> Caused by: java.io.IOException: Error resolving artifact com.zaxxer:HikariCP:jar:2.3.6: Could not transfer artifact com.zaxxer:HikariCP:jar:2.3.6 from/to central (http://repo1.maven.org/maven2/): /home/karaf/.m2/repository/com/zaxxer/HikariCP/2.3.6/HikariCP-2.3.6.jar.part.lock (No such file or directory) Version 2.3.6 exists in maven: http://mvnrepository.com/artifact/com.zaxxer/HikariCP weird.. for older version: karaf@root()> install mvn:com.zaxxer/HikariCP/2.3.5 Bundle IDs: Error executing command: Error installing bundles: Unable to install bundle mvn:com.zaxxer/HikariCP/2.3.5 karaf@root()> log:display <snip> Caused by: java.lang.Exception: Unable to install bundle mvn:com.zaxxer/HikariCP/2.3.5 at org.apache.karaf.bundle.command.Install.doExecute(Install.java:45) ... 18 more Caused by: org.osgi.framework.BundleException: Unable to cache bundle: mvn:com.zaxxer/HikariCP/2.3.5 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) ... 18 more Caused by: java.io.IOException: Error resolving artifact com.zaxxer:HikariCP:jar:2.3.5: Could not transfer artifact com.zaxxer:HikariCP:jar:2.3.5 from/to central (http://repo1.maven.org/maven2/): /home/karaf/.m2/repository/com/zaxxer/HikariCP/2.3.5/HikariCP-2.3.5.jar.part.lock (No such file or directory) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:487) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:433) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:411) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:386) at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:124) 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) ... 20 more On 04/23/2015 12:51 PM, Morgan Hautman wrote: > install mvn:com.zaxxer/HikariCP/x.x.x