Closed mikadev closed 1 month ago
More weird
After successfully install running feature:install camel-jackson
if i run again the same command i got again:
karaf@root()> feature:install camel-jackson
org.apache.felix.resolver.reason.ReasonException: Unable to resolve camel-jackson/4.7.0: missing requirement [camel-jackson/4.7.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.fasterxml.jackson.databind)(version>=2.17.0)(!(version>=3.0.0)))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:462)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374)
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:256)
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Error executing command: Unable to resolve camel-jackson/4.7.0: missing requirement [camel-jackson/4.7.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.fasterxml.jackson.databind)(version>=2.17.0)(!(version>=3.0.0)))"
I did some tests with the camel-jackson
feature, and it appears to be functioning properly on my side.
Is it possible to share the output of feature:info my-feature
?
The error you're seeing is because some bundle is not finding the package com.fasterxml.jackson.databind
with version >=2.17.0
and version < 3.0.0
. Could you also share the full error message in the log file? (might help find out the problematic bundle)
After executing feature:install camel-jackson
, what is the output of list -t 0 -u | grep jackson
?
Do you have the camel-karaf
repository declared in the features file that my-feature
comes from?
<features name="test-features" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
<!-- Apache Camel Karaf features repository -->
<repository>mvn:org.apache.camel.karaf/apache-camel/4.7.0/xml/features</repository>
<feature name="my-feature" version="4.7.0">
<feature version="4.7.0">camel-jackson</feature>
</feature>
</features>
Hello @stataru8
Full Exception
2024-09-22T00:09:16,254 | ERROR | Karaf local console user karaf | ShellUtil | 45 - org.apache.karaf.shell.core - 4.4.6 | Exception caught while executing command
org.apache.karaf.shell.support.MultiException: Error installing bundles:
Unable to install bundle com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1: org.osgi.framework.BundleException: Unable to cache bundle: com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
at org.apache.karaf.shell.support.MultiException.throwIf(MultiException.java:61) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:142) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Suppressed: java.lang.Exception: Unable to install bundle com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1: org.osgi.framework.BundleException: Unable to cache bundle: com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
at org.apache.karaf.bundle.command.Install.execute(Install.java:109) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: org.osgi.framework.BundleException: Unable to cache bundle: com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
at org.apache.felix.framework.Felix.installBundle(Felix.java:3258) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
... 13 more
Caused by: java.net.MalformedURLException: no protocol: com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
at java.net.URL.<init>(URL.java:772) ~[?:?]
at org.apache.felix.framework.util.SecureAction.createURL(SecureAction.java:310) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:148) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:76) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:819) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155) ~[?:?]
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457) ~[?:?]
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
... 13 more
2024-09-22T00:09:31,242 | ERROR | Karaf local console user karaf | ShellUtil | 45 - org.apache.karaf.shell.core - 4.4.6 | Exception caught while executing command
org.apache.karaf.shell.support.MultiException: Error installing bundles:
Unable to start bundle mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1: org.osgi.framework.BundleException: Unable to resolve com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0): missing requirement [com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.17.0)(!(version>=3.0.0))) Unresolved requirements: [[com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.17.0)(!(version>=3.0.0)))]
at org.apache.karaf.shell.support.MultiException.throwIf(MultiException.java:61) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:142) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Suppressed: java.lang.Exception: Unable to start bundle mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1: org.osgi.framework.BundleException: Unable to resolve com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0): missing requirement [com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.17.0)(!(version>=3.0.0))) Unresolved requirements: [[com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.17.0)(!(version>=3.0.0)))]
at org.apache.karaf.bundle.command.Install.execute(Install.java:128) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: org.osgi.framework.BundleException: Unable to resolve com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0): missing requirement [com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.17.0)(!(version>=3.0.0))) Unresolved requirements: [[com.fasterxml.jackson.datatype.jackson-datatype-jdk8 [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.17.0)(!(version>=3.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398) ~[?:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308) ~[?:?]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006) ~[?:?]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:992) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:126) ~[?:?]
... 13 more
2024-09-22T00:09:50,614 | WARN | pipe-bundle:install -s 'mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1' | AetherBasedResolver | 3 - org.ops4j.pax.url.mvn - 2.6.14 | Error resolving artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1: [Could not find artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1 in central (https://repo1.maven.org/maven2/)]
java.io.IOException: Error resolving artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1: [Could not find artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1 in central (https://repo1.maven.org/maven2/)]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.configureIOException(AetherBasedResolver.java:803) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:774) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:555) ~[?:?]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) ~[?:?]
at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:677) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:166) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:76) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:819) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155) ~[?:?]
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457) ~[?:?]
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Suppressed: shaded.org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1 in central (https://repo1.maven.org/maven2/)
at shaded.org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:48) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:401) ~[?:?]
at shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:73) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:669) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:290) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:408) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:212) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:272) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:767) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:555) ~[?:?]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) ~[?:?]
at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:677) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:166) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:76) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:819) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155) ~[?:?]
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457) ~[?:?]
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error resolving artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:431) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:212) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:272) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:767) ~[?:?]
... 28 more
2024-09-22T00:09:50,639 | ERROR | Karaf local console user karaf | ShellUtil | 45 - org.apache.karaf.shell.core - 4.4.6 | Exception caught while executing command
org.apache.karaf.shell.support.MultiException: Error installing bundles:
Unable to install bundle mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1: org.osgi.framework.BundleException: Unable to cache bundle: mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1
at org.apache.karaf.shell.support.MultiException.throwIf(MultiException.java:61) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:142) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Suppressed: java.lang.Exception: Unable to install bundle mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1: org.osgi.framework.BundleException: Unable to cache bundle: mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1
at org.apache.karaf.bundle.command.Install.execute(Install.java:109) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: org.osgi.framework.BundleException: Unable to cache bundle: mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1
at org.apache.felix.framework.Felix.installBundle(Felix.java:3258) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
... 13 more
Caused by: java.io.IOException: Error resolving artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1: [Could not find artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1 in central (https://repo1.maven.org/maven2/)]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.configureIOException(AetherBasedResolver.java:803) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:774) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:555) ~[?:?]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) ~[?:?]
at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:677) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:166) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:76) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:819) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155) ~[?:?]
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457) ~[?:?]
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
... 13 more
Suppressed: shaded.org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1 in central (https://repo1.maven.org/maven2/)
at shaded.org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:48) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:401) ~[?:?]
at shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:73) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:669) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:290) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:408) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:212) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:272) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:767) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:555) ~[?:?]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) ~[?:?]
at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:677) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:166) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:76) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:819) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155) ~[?:?]
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457) ~[?:?]
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error resolving artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:431) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:212) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:272) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:767) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:555) ~[?:?]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) ~[?:?]
at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:677) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:166) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:76) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:819) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155) ~[?:?]
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457) ~[?:?]
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
... 13 more
2024-09-22T00:10:00,173 | WARN | pipe-bundle:install -s 'wrap:mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1' | AetherBasedResolver | 3 - org.ops4j.pax.url.mvn - 2.6.14 | Error resolving artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1: [Could not find artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1 in central (https://repo1.maven.org/maven2/)]
java.io.IOException: Error resolving artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1: [Could not find artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1 in central (https://repo1.maven.org/maven2/)]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.configureIOException(AetherBasedResolver.java:803) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:774) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:555) ~[?:?]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) ~[?:?]
at org.ops4j.net.URLUtils.prepareInputStream(URLUtils.java:181) ~[?:?]
at org.ops4j.pax.url.wrap.internal.Connection.getInputStream(Connection.java:84) ~[?:?]
at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:677) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:166) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:76) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:819) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155) ~[?:?]
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457) ~[?:?]
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Suppressed: shaded.org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1 in central (https://repo1.maven.org/maven2/)
at shaded.org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:48) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:401) ~[?:?]
at shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:73) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:669) ~[?:?]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:290) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:408) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:212) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:272) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:767) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:555) ~[?:?]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) ~[?:?]
at org.ops4j.net.URLUtils.prepareInputStream(URLUtils.java:181) ~[?:?]
at org.ops4j.pax.url.wrap.internal.Connection.getInputStream(Connection.java:84) ~[?:?]
at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:677) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:166) ~[?:?]
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:76) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:819) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491) ~[?:?]
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155) ~[?:?]
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457) ~[?:?]
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147) ~[?:?]
at org.apache.karaf.bundle.command.Install.execute(Install.java:84) ~[?:?]
at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:88) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error resolving artifact com.fasterxml.jackson.datatype:jackson-core:jar:2.17.1
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:431) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:212) ~[?:?]
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:272) ~[?:?]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:767) ~[?:?]
... 30 more
feature:info my-feature
Details:
${project.description}
Feature has no configuration
Feature has no configuration files
Feature depends on:
scr 0.0.0
cdi 0.0.0
jms 0.0.0
pax-jms-config 0.0.0
jdbc 0.0.0
pax-jdbc-mariadb 0.0.0
artemis-amqp 0.0.0
pax-jms-artemis 0.0.0
camel 4.7.0
camel-blueprint 0.0.0
camel-jackson 0.0.0
camel-jsonpath 0.0.0
camel-jms 0.0.0
camel-http 0.0.0
camel-sql 0.0.0
camel-freemarker 0.0.0
Feature contains followed bundles:
mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
mvn:com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.17.1
mvn:org.apache.commons/commons-lang3/3.14.0
mvn:commons-digester/commons-digester/2.1
wrap:mvn:cglib/cglib/3.3.0/$Bundle-SymbolicName=cglib&Bundle-Version=3.3.0&Export-Package=*;version="3.3.0"
mvn:commons-validator/commons-validator/1.9.0
Feature has no conditionals.
list -t 0 -u | grep jackson
128 x Active x 80 x 2.17.1 x mvn:com.fasterxml.jackson.core/jackson-annotations/2.17.1
129 x Active x 80 x 2.17.1 x wrap:mvn:com.fasterxml.jackson.core/jackson-core/2.17.1$overwrite=merge&Bundle-Version=2.17.1&SPI-Provider=*
130 x Active x 80 x 2.17.1 x mvn:com.fasterxml.jackson.core/jackson-databind/2.17.1
247 x Active x 50 x 4.7.0 x mvn:org.apache.camel.karaf/camel-jackson/4.7.0
No i wasn't have camel-karaf
in my feature (i add it but still the same)
Hello, thank you for providing the additional information.
In the error logs, I'm seeing 3 different errors, in the following order
com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
because mvn
is missingmvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
, because com.fasterxml.jackson.core
is missing. Before getting this one, did you had the feature camel-jackson
installed? The output of list -t 0 -u | grep jackson
you shared is the expected one if camel-jackson
was installed. mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1
because the maven artifact doesn't exist.I've tried to install the following feature, and it worked fine, all the jackson bundles could get into the Active state.
<feature name="my-feature">
<feature version="4.7.0">camel</feature>
<feature>camel-blueprint</feature>
<feature>camel-jackson</feature>
<feature>camel-jsonpath</feature>
<feature>camel-jms</feature>
<feature>camel-http</feature>
<feature>camel-sql</feature>
<feature>camel-freemarker</feature>
<bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1</bundle>
<bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.17.1</bundle>
<bundle>mvn:org.apache.commons/commons-lang3/3.14.0</bundle>
</feature>
karaf@root()> list -t 0 -u | grep jackson
90 | Active | 50 | 4.7.0 | mvn:org.apache.camel.karaf/camel-jackson/4.7.0
120 | Active | 80 | 2.17.1 | mvn:com.fasterxml.jackson.core/jackson-annotations/2.17.1
121 | Active | 80 | 2.17.1 | wrap:mvn:com.fasterxml.jackson.core/jackson-core/2.17.1$overwrite=merge&Bundle-Version=2.17.1&SPI-Provider=*
122 | Active | 80 | 2.17.1 | mvn:com.fasterxml.jackson.core/jackson-databind/2.17.1
123 | Active | 80 | 2.17.1 | mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
124 | Active | 80 | 2.17.1 | mvn:com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.17.1
I’m not sure about the contents of the other features above the camel
ones, so it’s possible that one of them includes
<bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1</bundle>
but is missing the other required Jackson bundles. I think it’s safe to change the order of the features and declare the camel features first.
Yeah yeah you are right it was conflict with one of my other bundle thanks for the help
with k4.4.6 and c4.7.0 when i try to use feature:
<feature>camel-jackson</feature>
I got this one
I think this is related to bundle start level (maybe not) for sure if i just run feature-install camel-jackson it work