• Post Reply Bookmark Topic Watch Topic
  • New Topic

nor any of its super class is known to this context problem  RSS feed

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

i have simple complex object in jave that looks like this :



i converted it with jaxb and it generete me corespanding java object with the propreate geters and seters
now when i try to in the server side to insert this object into List<Object> im geting error saing :
.......
......
......
Caused by: javax.xml.bind.JAXBException: com.WebServices.datastructures.MyID nor any of its super class is known to this context
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:474)
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:557)
... 47 more



i must say that if i send back only this object (MyID) the unmarsheling passed successfully

thanks for your help
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!