Two Classes have same XML type name

前端 未结 3 1479
心在旅途
心在旅途 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

    Situation like this throws exception 'x counts of IllegalAnnotationExceptions'

    class A{}
    class B extends A{}
    class C extends A{}

    Resolve problem adding annotation into class A like this:

    @XmlTransient
    public class A
    {}

提交回复
热议问题