Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5170

java.lang.ClassCastException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.7.6
    • 2.7.6
    • Dynamic Languages
    • None
    • win7,eclips,spring3.1+ibatis2.3

    • Unknown

    Description

      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(Test.java:33)

      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??

      Attachments

        Activity

          People

            Unassigned Unassigned
            pendaqu pendaqu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: