JAXB unmarshal with declared type does not populate the resulting object with data

前端 未结 4 1174
孤街浪徒
孤街浪徒 2021-01-21 16:51

I am trying to unmarshal a given XML:


 rewriting of file
 toolA         


        
4条回答
  •  既然无缘
    2021-01-21 17:28

    Try to remove following code, and try again:

      @XmlType(name = "", propOrder = {
         "tx",
         "toolId",
         "toolVendor",
         "toolVersion",
         "userName",
         "commonProperties",
         "extensions"
        })
    

提交回复
热议问题