cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <>
Subject [jira] [Commented] (CXF-5170) java.lang.ClassCastException
Date Thu, 01 Aug 2013 06:33:51 GMT


Freeman Fang commented on CXF-5170:

Please post your question on users mailing list, and elaborate your scenario.

You shouldn't use jira to ask questions.

About your question here, service model is generated from your wsdl|code, the namespace used
there determine the package
> java.lang.ClassCastException
> ----------------------------
>                 Key: CXF-5170
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Dynamic Languages
>    Affects Versions: 2.7.6
>         Environment: win7,eclips,spring3.1+ibatis2.3
>            Reporter: pendaqu
>             Fix For: 2.7.6
> i'm using CXF in my project , i want the service to return a java bean class back, when
i test the client,it throws this exception:
> java.lang.ClassCastException: com.ootam.webservice.dao.SystransferMeterDataBean cannot
be cast to test.SystransferMeterDataBean
> 	at test.Test.main(
> i use the same java bean to test ,and the bean is in test folder,there isn't any bean
in com.ootam.webservice.dao,is there anyone hava seen this before and help me??

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:

View raw message