在用wsdl文件生成客户端文件的的时候,报出如下错误:WSDLToJava Error: Thrown by JAXB: A class/interface with the same name "com.elon
g.northboundapi.GetHotelBaseInfoListResponse" is already in use. Use a class cus
tomization to resolve this conflict. at line 330 column 7 of schema file:/E:/Nor
thBoundAPIService.xml
解决办法:wsdl2java -autoNameResolution NorthBoundAPIService.xml 就可以啦。