Translate

22 Ocak 2016 Cuma

Javax.ws.rs Version>=1.1.0)(!(version>=3.0.0)))

 While I deploy my cxf servise application I faced this error

Unable to resolve 252.0: missing req uirement [252.0] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0)(!(version>=3.0.0)))


Little Info:
you may have dependencies in your pom.xml it means when maven plugin downloaded dependencies
under .m2 thanks to BNDTOOOL it help us to launch our codes in eclipse


but when we just not use ide , if we directly use osgi container from console we should install our dependencies to there as bundles


here is the solution  of this problem was install cxf library

features:addurl mvn:org.apache.cxf.karaf/apache-cxf/2.5.1/xml/features
features:install http
features:install cxf


installation of cxf bundle might take time !!




Hiç yorum yok:

Yorum Gönder

Bu Blogda Ara