[WebService] The two classes have the same XML type name...

Problem Description

Springboot integrates the web service. After a server modification, the client reports an error: "The two classes have the same XML type name. Please use @XmlType.name and @XmlType.namespace to assign different names to the classes."

Cause Analysis

No

Solution

method one

Use the wsimport command to regenerate the client code; enter the client directory to generate it directly, instead of just finding a directory and copying it to the client project.

other

There may be different solutions for others

Reference article

https://blog.csdn.net/sinat_36220051/article/details/88390456

 

Guess you like

Origin blog.csdn.net/xiaoxiao_su123/article/details/111504890