Get Unable to resolve root error in Runtime

Five Stars

Get Unable to resolve root error in Runtime

Hi team
I have a Route which connects to Redis using spring-redis in cMessagingEndpoint. It works fine in Studio, however, i get "Unable to resolve root: missing requirement" error when I deploy the route to Runtime. (Using version 6.2.1 for both Studio and Runtime)
Here is the error log:
17:49:49,386 | INFO  | container/deploy | eployer.kar.KarArtifactInstaller   75 | 28 - org.apache.karaf.deployer.kar - 4.0.5 | Found a .kar file to deploy.
17:49:49,388 | INFO  | container/deploy | eployer.kar.KarArtifactInstaller   48 | 28 - org.apache.karaf.deployer.kar - 4.0.5 | Installing KAR file /opt/Talend/container/deploy/AutoSafe_Server_InternalServices_0.1.kar
17:49:49,420 | INFO  | container/deploy | araf.kar.internal.KarServiceImpl  261 | 37 - org.apache.karaf.kar.core - 4.0.5 | Added feature repository 'file:/opt/Talend/container/data/kar/AutoSafe_Server_InternalServices_0.1/autosafeserver/AutoSafe_Server_InternalServices/AutoSafe_Server_InternalServices-feature/0.1/AutoSafe_Server_InternalServices-feature-0.1.xml'
17:49:49,426 | INFO  | container/deploy | rnal.service.FeaturesServiceImpl 1189 | 9 - org.apache.karaf.features.core - 4.0.5 | Adding features: AutoSafe_Server_InternalServices-feature/
17:50:33,431 | WARN  | container/deploy | araf.kar.internal.KarServiceImpl  286 | 37 - org.apache.karaf.kar.core - 4.0.5 | Unable to install Kar feature AutoSafe_Server_InternalServices-feature/0.1.0
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement osgi.identity; osgi.identity=AutoSafe_Server_InternalServices-feature; type=karaf.feature; version=""; filter:="(&(osgi.identity=AutoSafe_Server_InternalServices-feature)(type=karaf.feature)(version>=0.1.0)(version<=0.1.0))" osgi.identity; osgi.identity=camel-spring-redis; type=karaf.feature osgi.identity; osgi.identity=org.apache.camel.camel-spring-redis; type=osgi.bundle; version=""; resolution:=mandatory osgi.wiring.package; filter:="(&(>=1.0.0)(!(version>=2.0.0)))" osgi.wiring.package; filter:="(&(osgi.wiring.package=org.springframework.aop.framework)(version>=4.0.9)(!(version>=4.1.0)))"]]]]
       at org.apache.felix.resolver.ResolutionError.toException(
       at org.apache.felix.resolver.ResolverImpl.resolve(
       at org.apache.felix.resolver.ResolverImpl.resolve(
       at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(
       at org.apache.karaf.features.internal.service.Deployer.deploy(
       at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(
       at org.apache.karaf.features.internal.service.FeaturesServiceImpl$
       at java.util.concurrent.ThreadPoolExecutor.runWorker(
       at java.util.concurrent.ThreadPoolExecutor$

Someone could help me out?
Five Stars

Re: Get Unable to resolve root error in Runtime

Seems that the problem is caused by bundle dependency, relies on org.springframework.aop 4.0.9, which is not available in RunTime. 
However, when I tried to install the bundle "camel-spring-redis 4.0.9" downloaded from Maven to Runtime, it gives "Bundle-SymbolicName header missing, cannot install bundle" error. 
Stuck here and don't know how to make it work.


Talend named a Leader.

Get your copy


Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs