Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Unable to install feature odl-netconf-connector-all in NCMount project inside Karaf

Hi All,

I have just setup the ncmount project and have run "maven clean install". I have also built the ODL_CoreTutorials project successfully.

I am using the same Karaf distribution supplied within the NCMount project. Now when I try to install the feature odl-netconf-connector-all; I get the following exception in Karaf-logs:

Can't install feature odl-netconf-connector-all/0.0.0:
Could not start bundle mvn:org.opendaylight.yangtools.model/ietf-restconf/2013.10.19.7.3-Lithium-SR3 in feature(s) odl-yangtools-models-0.7.3-Lithium-SR3: Uses constraint violation. Unable to resolve bundle revision org.opendaylight.yangtools.model.ietf-restconf [3855.0] because it is exposed to package 'org.opendaylight.yangtools.yang.binding' from bundle revisions org.opendaylight.yangtools.yang-binding [3848.0] and org.opendaylight.mdsal.yang-binding [2361.0] via two dependency chains.

Chain 1: org.opendaylight.yangtools.model.ietf-restconf [3855.0] import: (&(osgi.wiring.package=org.opendaylight.yangtools.yang.binding)(version>=0.7.0)(!(version>=1.0.0))) | export: osgi.wiring.package=org.opendaylight.yangtools.yang.binding org.opendaylight.yangtools.yang-binding [3848.0]

Chain 2: org.opendaylight.yangtools.model.ietf-restconf [3855.0] import: (&(osgi.wiring.package=org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924)(version>=2010.9.0)(!(version>=2011.0.0))) | export: osgi.wiring.package=org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924; uses:=org.opendaylight.yangtools.yang.binding org.opendaylight.mdsal.model.ietf-inet-types [2388.0] import: (&(osgi.wiring.package=org.opendaylight.yangtools.yang.binding)(version>=0.10.0)(!(version>=1.0.0))) | export: osgi.wiring.package=org.opendaylight.yangtools.yang.binding org.opendaylight.mdsal.yang-binding [2361.0] at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:403) at Proxy7192c036f5214ca3a6e2e905c34684f1.installFeature(Unknown Source) at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72) at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[27:org.apache.karaf.shell.console:3.0.7] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[27:org.apache.karaf.shell.console:3.0.7] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[27:org.apache.karaf.shell.console:3.0.7] at Proxy8d0a454d7083459f8653dc1809ad512a.execute(Unknown Source)[:] at Proxy8d0a454d7083459f8653dc1809ad512a.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[27:org.apache.karaf.shell.console:3.0.7] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[27:org.apache.karaf.shell.console:3.0.7] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[27:org.apache.karaf.shell.console:3.0.7] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[27:org.apache.karaf.shell.console:3.0.7] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[27:org.apache.karaf.shell.console:3.0.7] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[27:org.apache.karaf.shell.console:3.0.7] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:210) at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_73] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[28:org.apache.karaf.jaas.modules:3.0.7] at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[27:org.apache.karaf.shell.console:3.0.7]

Please help me with this as I have been struggling on this since days.