当我尝试将 xml 文件转换为其 java 对应文件时收到此错误:
09.09.2013 13:58:26 ERROR [manager.getContentsUnmarshalled():154] There was an error parsing the file: "props.xml". JAXB unmarshalling exception; nested exception is javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"newImageOverlay"). Expected elements are <{}GenericData>,<{}VirtualComponent>,<{}application_constants>,<{}channel>
我认为这个错误表示 xml 文件中存在意外元素?
在异常消息中,jaxb 如何识别“预期元素”?标识符在哪里<{}GenericData>,<{}VirtualComponent>,<{}application_constants>,<{}channel>
指定?