[
https://issues.apache.org/jira/browse/CXF-6654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14975051#comment-14975051
]
Sergey Beryozkin commented on CXF-6654:
---------------------------------------
This is because CXF 3.1.2 is more compliant, and due to Jackson having a
wildcard Produces/Consumes it loses to a more specific CXF JSONProvider.
Excluding a CXF JSONProvider is exactly what is needed if this provider is not
needed
> Jettison sneaks in as provider although jackson is registered
> -------------------------------------------------------------
>
> Key: CXF-6654
> URL: https://issues.apache.org/jira/browse/CXF-6654
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.1.2, 3.1.3
> Reporter: David J. M. Karlsen
>
> Our jaxrs:server is configured with
> {noformat}
> <jaxrs:providers>
> <ref bean="jacksonJaxbJsonProvider" />
> </jaxrs:providers>
> {noformat}
> but still jettison was used for unmarshalling incoming requests (which failed
> because they are jaxbbeans).
> Excluding jettison which was coming in as a transitive dependency from
> http://repo1.maven.org/maven2/org/apache/camel/camel-xstream/2.16.0/
> fixed it.
> This did not cause a problem on cxf 3.1.1, but would fail on 3.1.2 and 3.1.3
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)