I’m getting this error while trying to de-serialize my object :
[org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'ObjectProp' is not complete. One of '{"http://localhost/txt/1.12/obj/domain":MapProp}' is expected.]
But my xml is like this :
<ObjectProp type="single">
<MapProp sn="79" version="7.0">
…
As you ObjectProp does contain MapProp, what can be wrong, did anyone experience this before?
The exception is indicating that the XML should be namespace qualified like:
For more info on JAXB & Namespaces: