[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15492793#comment-15492793
 ] 

Akitoshi Yoshida commented on CXF-7045:
---------------------------------------

[~reta] Hi Andriy, thanks for investigating the root cause. 
Regarding com.fasterxml.jackson.jaxrs, it was referenced by swagger-jars 1.5.4, 
but not by the recent ones. And it used to all work with cxf-3.1.5. I remember 
swagger-feature of cxf-3.1.6 was broken because of the late change to the 
jackson version in parent/pom.xml that was inconsistent with the jackson 
version used by swagger. I remember fixing this issue in 3.1.7-SNAPSHOT and 
tested it to work using the cxf-rt-rs-service-description-swagger feature. But 
somehow, the released cxf 3.1.7 seems to have the wiring issue.

> Update sample description_swagger2_osgi README.txt
> --------------------------------------------------
>
>                 Key: CXF-7045
>                 URL: https://issues.apache.org/jira/browse/CXF-7045
>             Project: CXF
>          Issue Type: Bug
>          Components: Samples
>            Reporter: John Poth
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to