發佈服務時提示:
嚴重: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webServiceSample': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: An operation with name [{http://service.cxf.cvicse.com/}sayUserName] already exists in this service
Caused by: javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: An operation with name [{http://service.cxf.cvicse.com/}sayUserName] already exists in this service
WebServiceSample裏有兩個重載的方法sayUserName,不能成功發佈服務,應該如何處理,請指教!java