报错
Exception in thread "main" com.sun.xml.internal.ws.spi.db.DatabindingException: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 8 counts of IllegalAnnotationExceptions
两个类具有相同的 XML 类型名称 "{http://cxf.lockcloud.eg.com/}transSecXml"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。
this problem is related to the following location:
at client.TransSecXml
at public javax.xml.bind.JAXBElement client.ObjectFactory.createTransSecXml(client.TransSecXml)
at client.ObjectFactory
this problem is related to the following location:
at com.demo.client.TransSecXml
两个类具有相同的 XML 类型名称 "{http://cxf.lockcloud.eg.com/}transSecXmlResponse"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。
this problem is related to the following location:
at client.TransSecXmlResponse
at public javax.xml.bind.JAXBElement client.ObjectFactory.createTransSecXmlResponse(client.TransSecXmlResponse)
at client.ObjectFactory
this problem is related to the following location:
at com.demo.client.TransSecXmlResponse
两个类具有相同的 XML 类型名称 "{http://cxf.lockcloud.eg.com/}getKey"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。
this problem is related to the following location:
at client.GetKey
at public javax.xml.bind.JAXBElement client.ObjectFactory.createGetKey(client.GetKey)
at client.ObjectFactory
this problem is related to the following location:
at com.demo.client.GetKey
两个类具有相同的 XML 类型名称 "{http://cxf.lockcloud.eg.com/}getKeyResponse"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。
this problem is related to the following location:
at client.GetKeyResponse
at public client.GetKeyResponse client.ObjectFactory.createGetKeyResponse()
at client.ObjectFactory
this problem is related to the following location:
at com.demo.client.GetKeyResponse
两个类具有相同的 XML 类型名称 "{http://cxf.lockcloud.eg.com/}newTransSecXml"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。
this problem is related to the following location:
at client.NewTransSecXml