Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

FAQ: Unable to add feature

Q: When trying to install feature like
features:addurl mvn 0683p000009MA5A.pngrg.talend.esb.examples.rent-a-car/features-sam/4.0/xml
got exception:
Could not add Feature Repository:
java.lang.RuntimeException: URL could not be resolved.
A: Karaf can't resolve local maven repo.
Regarding \container\etc\org.ops4j.pax.url.mvn.cfg:
# The following locations are checked for the existence of the settings.xml file
# * 1. looks for the specified url
# * 2. if not found looks for ${user.home}/.m2/settings.xml
# * 3. if not found looks for ${maven.home}/conf/settings.xml
# * 4. if not found looks for ${M2_HOME}/conf/settings.xml
Check config location for karaf regarding listed criteria.
Labels (3)
2 Replies
Anonymous
Not applicable
Author

I also faced the same problem but after changing the correct version of Taled it works. For me the command was:
features:addurl mvn 0683p000009MA5A.pngrg.talend.esb.examples.rent-a-car/features/5.0.1/xml
Anonymous
Not applicable
Author

aLeXx,
seems like maven is unable to locate your local maven repository. This could happen if you never used Maven on this computer before. Did you compile the rent-a-car demo? If not please check out Chapter 5 in the Talend ESB Getting Started Guide, you'll find a complete description how to set up the demo there.
Arabinda also makes a valid point. If you are using the most recent version of Talend (which I really recommend), you need to update the version in the feature url. The updated URLs are given in the guide as well, just copy & paste them from there.
Best regards
Jerry