Two Classes have same XML type name

前端 未结 3 1457
心在旅途
心在旅途 2020-12-18 11:59

Im having this error where it says that i have two classes of same XML type name

so the problem is between InfoSource -> NameSearchFilters -> SearchRequest

<

3条回答
  •  醉梦人生
    2020-12-18 13:01

    Did you try adding different values of namespace attribute to each of them like @XmlType(namespace="test1", name = "InfoSource", propOrder = { "infoSource" }) ) ?

提交回复
热议问题