我是肥皂服务的新手。我必须将WSDL更改为java类。我尝试将其放置在资源文件夹中并进行更改。但是我做不到。在pom.xml中设置目标时。它在执行方法中给出了错误。
Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [556,5]: 'maintainBene' is already defined
file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [20,5]: (related to above error) the first definition appears here
file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [733,5]: 'maintainBeneResponse' is already defined
file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [197,5]: (related to above error) the first definition appears here
file:/C:/Workspace/demo/src/main/resources/wsdl/Bene.wsdl [940,5]: 'Common' is already defined