Hello, I am trying to produce a JSON message using JAX-RS with CXF (version camel-cxf 2.10.3 / cxf 2.6.3). When trying to produce some JSON messages, I am presented the following exception: JAXBException occurred : property "com.sun.xml.internal.bind.namespacePrefixMapper" must be an instance of type com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper, not org.apache.cxf.common.jaxb.NamespaceMapper
If I choose to produce XML this message is not produced. I am using only @XmlRootElement and @XmlElement annotations, nothing more. Any advice on how to prevent / fix the above exception? Thanks in advance! -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-JSON-Binding-Exception-tp5725065.html Sent from the cxf-user mailing list archive at Nabble.com.
