Hi Looking at you POM I see many dependencies with scope compile. Could you verify that these dependencies have not been folded into the bundle ? I.e. your bundle must only contain your code not the dependency classes.
Best practice for OSGi bundle POMs is to always mark dependencies explicitly as scope=provided. Regards Felix — Felix Meschberger | Principal Scientist | Adobe Am 29.10.2013 um 04:35 schrieb viswa46 <[email protected]>: > Hi, > > I'm new apache felix osgi just i'm trying to build a sample bundle and > upload to felix console the below error message is being displayed also > please find the pom.xml as well thanks in advance. pom.xml > <http://apache-felix.18485.x6.nabble.com/file/n5005798/pom.xml> > > 29.10.2013 08:59:31.459 *ERROR* [0:0:0:0:0:0:0:1 [1383017371453] POST > /system/console/bundles/233 HTTP/1.1] cqse-httpservice %bundles.pluginTitle: > Cannot start (org.osgi.framework.BundleException: Constraint violation for > package 'org.osgi.framework' when resolving module 233.0 between existing > import 232.0.org.osgi.framework BLAMED ON [[233.0] package; > (&(package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0)))] and uses > constraint 0.org.osgi.framework BLAMED ON [[233.0] package; > (&(package=org.osgi.service.component)(version>=1.1.0)(!(version>=2.0.0))), > [41.0] package; > (&(package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))]) > org.osgi.framework.BundleException: Constraint violation for package > 'org.osgi.framework' when resolving module 233.0 between existing import > 232.0.org.osgi.framework BLAMED ON [[233.0] package; > (&(package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0)))] and uses > constraint 0.org.osgi.framework BLAMED ON [[233.0] package; > (&(package=org.osgi.service.component)(version>=1.1.0)(!(version>=2.0.0))), > [41.0] package; > (&(package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))] > > > > > -- > View this message in context: > http://apache-felix.18485.x6.nabble.com/Error-While-uploading-the-bundle-in-felix-console-tp5005798.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

