Thanks to Evelyn for providing the links to start on OSGI. I am using Eclipse IDE and the OSGI Aries runtime is configured based on the RAD -OSGIFree tool lab (http://www.osgi.org/wiki/uploads/CommunityEvent2010/OSGiCE-OSGiFreeToolsLab.pdf).
I was trying to explore how the imported packages are resolved. I am using Maven Felix plugin and the generated Manifest looks like this:
Created-By: Apache Maven Bundle Plugin
When I start the bundle I get the error 'Missing Constraint: Import-Package: org.apache.commons.lang; version="[2.6.0,3.0.0)".
My question is should I create a bundle for all such jars/lib? or can I include them in the classpath (lib folder) within the bundle?
Pinned topic The bundle could not be resolved. Reason: Missing Constraint: Error
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-08-10T12:25:03Z at 2011-08-10T12:25:03Z by SystemAdmin
SystemAdmin 110000D4XK153 Posts
Re: The bundle could not be resolved. Reason: Missing Constraint: Error2011-08-10T12:25:03ZThis is the accepted answer. This is the accepted answer.Found the osgi bundles for Apache Commons at http://ebr.springsource.com/repository/app/ and 2.5 is the latest available bundle.