[
https://issues.apache.org/jira/browse/CXF-5258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kai Stapel updated CXF-5258:
----------------------------
Summary: Return type list of a typed type, e.g. List<Type<Typee>> makes
problems (was: Return type list of a typed type, e.g. {{List<Type<Typee>>}}
makes problems)
> Return type list of a typed type, e.g. List<Type<Typee>> makes problems
> -----------------------------------------------------------------------
>
> Key: CXF-5258
> URL: https://issues.apache.org/jira/browse/CXF-5258
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 2.7.6
> Reporter: Kai Stapel
>
> If you use a list of a typed type as the return type (yes, a lot of types ;)
> ) in a CXF service you will get a
> {code}
> java.lang.ClassCastException: java.util.ArrayList cannot be cast to
> some.class.Name
> {code}
> exception.
> I attached a small example showing the problem for CXF 2.7.6.
> I'm not quite sure if this really is a CXF JAXBDatabinding problem or if it
> is caused by something else.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira