Got an exception
javax.xml.bind.UnmarshalException: unexpected element
(uri:"", local:"ConnectorCommandType")
trying to unmarshall xml, shown below:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ConnectorCommandType> ........ </ConnectorCommandType>
The exception basically says that element is not found in jaxb context. But debugging shows that this class is present and known in current jaxb context. The class ConnectorCommandType was generated from xsd xml as <xs:complexType>
element.
Could there be an error in the xsd?
Has anyone faced with problem like that? Any suggestions? Thanks.