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

Maarten Winkels commented on CXF-6074:
--------------------------------------

This issue seems to be due to a check in jaxb-impl-2.1.14, that checks for 
no-arg constructor for a property type, even though the property has a 
@XmlJavaTypeAdapter. A simple work around is to add a default constructor to 
the (test) class.

> Add configured XmlAdapters
> --------------------------
>
>                 Key: CXF-6074
>                 URL: https://issues.apache.org/jira/browse/CXF-6074
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAXB Databinding
>            Reporter: Maarten Winkels
>             Fix For: 3.0.3
>
>
> In some cases an XmlAdapter (as used by JAXB) needs state. For this the 
> Marshaller and Unmarshaller have a setAdapter(...) method, that accepts a 
> configured instance.
> Currently the JAXBDataBinding has no configuration for this.



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

Reply via email to