It seams that you've the same bundle twice? org.springframework.beans [132.0] and org.springframework.beans [99.0]
Kind regards, Andreas On Fri, Jun 21, 2013 at 8:17 AM, Srikanth <[email protected]> wrote: > I am new to OSGI/Karaf, would like to understand the below problem and how > to > solve. > Could someone please let me know what could be the issue and how this can > be > solved? > > 2013-06-21 11:35:02,451 | ERROR | Thread-10 | FeaturesServiceImpl > | s.internal.FeaturesServiceImpl$2 1152 | 40 - > org.apache.karaf.features.core - 2.3.1 | Error installing boot features > java.lang.Exception: Could not start bundle > mvn:org.apache.cxf/cxf-bundle/2.4.2 in feature(s) cxf-2.4.2: Uses > constraint > violation. Unable to resolve bundle revision org.apache.cxf.bundle [170.0] > because it is exposed to package > 'org.springframework.beans.factory.support' > from bundle revisions org.springframework.beans [132.0] and > org.springframework.beans [99.0] via two dependency chains. > > Chain 1: > org.apache.cxf.bundle [170.0] > import: > > (&(osgi.wiring.package=org.springframework.beans.factory.support)(version>=2.5.0)(!(version>=4.0.0))) > | > export: osgi.wiring.package=org.springframework.beans.factory.support > org.springframework.beans [132.0] > > Chain 2: > org.apache.cxf.bundle [170.0] > import: > > (&(osgi.wiring.package=org.springframework.web.servlet.mvc)(version>=2.5.0)(!(version>=4.0.0))) > | > export: osgi.wiring.package=org.springframework.web.servlet.mvc; > uses:=org.springframework.validation > org.springframework.web.servlet [109.0] > import: > > (&(osgi.wiring.package=org.springframework.validation)(version>=3.1.4)(!(version>=3.1.5))) > | > export: osgi.wiring.package=org.springframework.validation; > uses:=org.springframework.beans.factory.support > org.springframework.context [101.0] > import: > > (&(osgi.wiring.package=org.springframework.beans.factory.support)(version>=3.1.4)(!(version>=3.1.5))) > | > export: osgi.wiring.package=org.springframework.beans.factory.support > org.springframework.beans [99.0] > at > > org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:482)[40:org.apache.karaf.features.core:2.3.1] > at > > org.apache.karaf.features.internal.FeaturesServiceImpl$2.run(FeaturesServiceImpl.java:1150)[40:org.apache.karaf.features.core:2.3.1] > Caused by: org.osgi.framework.BundleException: Uses constraint violation. > Unable to resolve bundle revision org.apache.cxf.bundle [170.0] because it > is exposed to package 'org.springframework.beans.factory.support' from > bundle revisions org.springframework.beans [132.0] and > org.springframework.beans [99.0] via two dependency chains. > > Chain 1: > org.apache.cxf.bundle [170.0] > import: > > (&(osgi.wiring.package=org.springframework.beans.factory.support)(version>=2.5.0)(!(version>=4.0.0))) > | > export: osgi.wiring.package=org.springframework.beans.factory.support > org.springframework.beans [132.0] > > Chain 2: > org.apache.cxf.bundle [170.0] > import: > > (&(osgi.wiring.package=org.springframework.web.servlet.mvc)(version>=2.5.0)(!(version>=4.0.0))) > | > export: osgi.wiring.package=org.springframework.web.servlet.mvc; > uses:=org.springframework.validation > org.springframework.web.servlet [109.0] > import: > > (&(osgi.wiring.package=org.springframework.validation)(version>=3.1.4)(!(version>=3.1.5))) > | > export: osgi.wiring.package=org.springframework.validation; > uses:=org.springframework.beans.factory.support > org.springframework.context [101.0] > import: > > (&(osgi.wiring.package=org.springframework.beans.factory.support)(version>=3.1.4)(!(version>=3.1.5))) > | > export: osgi.wiring.package=org.springframework.beans.factory.support > org.springframework.beans [99.0] > at > > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3832)[org.apache.felix.framework-4.0.3.jar:] > at > > org.apache.felix.framework.Felix.startBundle(Felix.java:1868)[org.apache.felix.framework-4.0.3.jar:] > at > > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)[org.apache.felix.framework-4.0.3.jar:] > at > > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)[org.apache.felix.framework-4.0.3.jar:] > at > > org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:479)[40:org.apache.karaf.features.core:2.3.1] > ... 1 more > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-understanding-the-problem-tp4029083.html > Sent from the Karaf - User mailing list archive at Nabble.com. >
