Hi, You should install cxf feature where have all CXF related bundles for you. ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat On 2014-10-4, at 上午3:42, petertirrell wrote: > I'm trying to implement a bundle to handle uploading files; I have a REST web > service that I've created. It was working successfully serving up files to > download. Now I'm trying to implement file uploading and it makes use of > the org.apache.cxf.jaxrs.ext.multipart package. Of course when I deployed > my bundle I started getting a spew of this: > > /org.osgi.framework.BundleException: Unresolved constraint in bundle > com.meritain.pbmfilestreamer [207]: Unable to resolve 207.11: missing > requirement [207.11] osgi.wiring.package; > (&(osgi.wiring.package=org.apache.cxf.jaxrs.ext.multipart)(version>=2.7.0)(!(version>=3.0.0)))/ > > Ok, so how can I make that package available to my bundle? I tried manually > installing the whole cxf-bundle-jaxrs maven dependency into Karaf since that > includes the package I need, but that started down a rabbit hole of other > needed dependencies. Should the .ext pieces have been included as part of > the cxf feature I installed into Karaf originally? > > At this point I'm unsure on how to resolve this dependency, any thoughts or > help? Thanks! > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Missing-requirement-for-org-apache-cxf-jaxrs-ext-multipart-tp4035630.html > Sent from the Karaf - User mailing list archive at Nabble.com.
