Ask Your Question

Not able to resolve bundle in karaf??

asked 2015-01-14 01:00:10 -0700

Ashwini_Mhatre gravatar image

updated 2015-01-14 01:04:34 -0700

Hi all,

I m using some classes from controller/opendaylight/md-sal/compatibility/sal-compatibility in my l2switch i have added required dependancy in implementation's pom.xm as follows


it builds successfully. but when m trying to install feature in karaf. getting following error:

Error executing command: Could not start bundle mvn:org.opendaylight.l2switch.stats/stats-impl/0.1.0-Helium in feature(s) odl-l2switch-stats-0.1.0-Helium: The bundle "org.opendaylight.l2switch.stats.impl_0.1.0.Helium [411]" could not be resolved. Reason: Missing Constraint: Import-Package: org.opendaylight.controller.sal.compatibility; version="[1.1.0,2.0.0)" opendaylight-user@root>

If anyone have any hint. please let me know

Regards, Ashwini Mhatre

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-12 05:14:55 -0700

Muthukumaran gravatar image

You can check following to be sure that Karaf is able to pack and be able to use your dependency during feature:install

  1. Check if you have added this dependency to the features project's pom.xml (in addition to your impl's pom file)

  2. If you have done (1), please check if the bundle-repo of Karaf ($KARAF_HOME/system) contains the bundle which it complaints about - including the version

Regards Muthu

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools



Asked: 2015-01-14 01:00:10 -0700

Seen: 572 times

Last updated: Sep 12 '15