[
https://issues.apache.org/jira/browse/CXF-5258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774436#comment-13774436
]
Dwar Wawa commented on CXF-5258:
--------------------------------
Same problem here in 2.5.2, 2.5.6, 2.5.11 versions.
Possible workaround for this problem is excluding asm.jar from project
dependencies :/
> Return type list of a typed type, e.g. List<Type<Typee>>, leads to
> ClassCastException
> -------------------------------------------------------------------------------------
>
> 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
> Attachments: cfx-list-typed-type.zip
>
>
> 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