Hi All,

Has anyone used cxf-bean-validation in karaf 3.0.2 with apache cxf 3.0.3?

Apparently, cxf has dependency to javax.validation version 1.1, but
servicemix.specs.jsr303-api is exporting the package as version 1.0.0

here is the stack trace:

java.lang.Exception: Could not start bundle
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator/5.0.2.Final_1
in feature(s) cxf-bean-validation-core-3.0.3: Unresolved constraint in
bundle org.apache.servicemix.bundles.hibernate-validator [186]: Unable to
resolve 186.0: missing requirement [186.0] osgi.wiring.package;
(&(osgi.wiring.package=javax.validation)(version>=1.1.0)(!(version>=2.0.0)))




Regards,
Mohammad Shamsi

Reply via email to