missing requirement osgi.wiring.package=org.terracotta.context
Issue
- I am using several camel cache route in on application. when deploying got the missing requirement error. I added following two dependency and still get same error. which dependency, or jar files, do I need to fullfill the requirement? I have attached the pom and blueprint files for your review. Please advise, Thanks.
<dependency>
<groupId>org.terracotta</groupId>
<artifactId>terracotta</artifactId>
<version>4.3.0</version>
</dependency>
<dependency>
<groupId>org.terracotta</groupId>
<artifactId>terracotta-toolkit-runtime</artifactId>
<version>4.3.0</version>
</dependency>
- Error
_______________application error______________________________
org.apache.karaf.shell.console.MultiException: Error installing bundles:
Unable to start bundle mvn:com.com.mycompany/ProfileOutboundTranslator/1.2.1: Unresolved constraint in bundle ProfileOutboundTranslator [476]: Unable to resolve 476.0: missing requirement [476.0] osgi.wiring.package; (osgi.wiring.package=org.terracotta.context)
at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:70)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_92]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_92]
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at org.apache.karaf.shell.console.commands.$BlueprintCommand1102770304.execute(Unknown Source)[37:org.apache.karaf.shell.console:2.4.0.redhat-630310]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[37:org.apache.karaf.shell.console:2.4.0.redhat-630310]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[37:org.apache.karaf.shell.console:2.4.0.redhat-630310]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[37:org.apache.karaf.shell.console:2.4.0.redhat-630310]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[37:org.apache.karaf.shell.console:2.4.0.redhat-630310]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[37:org.apache.karaf.shell.console:2.4.0.redhat-630310]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[37:org.apache.karaf.shell.console:2.4.0.redhat-630310]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:171)[154:org.apache.karaf.shell.ssh:2.4.0.redhat-630310]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:126)
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_92]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[24:org.apache.karaf.jaas.modules:2.4.0.redhat-630310]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:124)[154:org.apache.karaf.shell.ssh:2.4.0.redhat-630310]
Caused by: java.lang.Exception: Unable to start bundle mvn:com.mycompany.com/ProfileOutboundTranslator/1.2.1: Unresolved constraint in bundle ProfileOutboundTranslator [476]: Unable to resolve 476.0: missing requirement [476.0] osgi.wiring.package; (osgi.wiring.package=org.terracotta.context)
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:53)
... 21 more
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle ProfileOutboundTranslator [476]: Unable to resolve 476.0: missing requirement [476.0] osgi.wiring.package; (osgi.wiring.package=org.terracotta.context)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)
Environment
- Red Hat Fuse
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.