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


BundleException Could not be resolved Missing Constraint

asked 2014-10-14 03:38:29 -0700

anonymous user


osgi> install file:/home/mininet/con/controller/frescocore/target/frescocore-0.1.jar Bundle id is 281 RegisteredServices null ServicesInUse null LoaderProxy de.frescoplus.frescocore; bundle-version="0.1.0" Fragments null ClassLoader null Version 0.1.0 LastModified 1413282890155 Headers Bnd-LastModified = 1413282850856 Build-Jdk = 1.7.055 Built-By = mininet Bundle-Activator = de.frescoplus.frescocore.Activator Bundle-ManifestVersion = 2 Bundle-Name = frescocore Bundle-SymbolicName = de.frescoplus.frescocore Bundle-Version = 0.1.0 Created-By = Apache Maven Bundle Plugin Export-Package = de.frescoplus.frescocore;uses:="org.opendaylight.controller.sal.core,,org.opendaylight.controller.sal.packet,org.slf4j,,,,org.opendaylight.yangtools.yang.common,,,org.opendaylight.yangtools.yang.binding,";version="0.1.0" Import-Package =;version="[14.0,15)",;version="[14.0,15)",;version="[3.0,4)",;version="[1.1,2)",;version="[1.1,2)",;version="[1.1,2)",org.opendaylight.controller.sal.core;version="[0.7,1)",org.opendaylight.controller.sal.packet;version="[0.7,1)",,org.opendaylight.yangtools.yang.binding;version="[0.6,1)",org.opendaylight.yangtools.yang.common;version="[0.6,1)",org.slf4j;version="[1.7,2)" Manifest-Version = 1.0 Tool = Bnd-1.50.0

BundleData de.frescoplus.frescocore0.1.0 KeyHashCode 281 BundleContext null BundleId 281 StartLevel 1 SymbolicName de.frescoplus.frescocore StateChanging null BundleDescription de.frescoplus.frescocore0.1.0 Framework org.eclipse.osgi.framework.internal.core.Framework@a5823ca ResolutionFailureException org.osgi.framework.BundleException: The bundle "de.frescoplus.frescocore0.1.0 [281]" could not be resolved Revisions [de.frescoplus.frescocore0.1.0] ProtectionDomain null Key 281 Location file:/home/mininet/con/controller/frescocore/target/frescocore-0.1.jar State 2 Bundle 281|Installed | 1|de.frescoplus.fresco_core (0.1.0)

osgi> start 281 gogo: BundleException: The bundle "de.frescoplus.frescocore0.1.0 [281]" could not be resolved. Reason: Missing Constraint: Import-Package:; version="0.0.0" osgi>

How can i solve it?!

I follows up Toaster Tutorial for making MD-SAL ODL application for project.(In page 7)

Actually, i made Yang file for my project then build it.

After that, i make new classes which includes built yang classes

Then problem occurs How can i solve it?!

BTW does anyone who has interesting idea of making MD-SAL application without significant effort? I just need data provider and listener from each bundles.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-03 13:35:58 -0700

anu.nair gravatar image

Import-Package:; version="0.0.0" Your Manifest.INF doesnt have the version set. Go to your bundle and see if the version is specified. One workaround is explicitly do an Import Package with this version in your pom file

edit flag offensive delete publish link more


Oh, Thank you for your replying. I try to solve this problem. Thanks

Seunghyeon ( 2014-11-04 16:06:42 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-10-14 03:38:29 -0700

Seen: 1,879 times

Last updated: Nov 03 '14