首页 > 解决方案 > ''Fault' 已经定义 [ERROR](与上述错误相关)第一个定义出现在这里”你能帮帮我吗

问题描述

How can ı fix 
'Fault' is already defined
[ERROR] file:Services.wsdl [16541,13]: (related to above error) the first definition appears here

pom.xml cxf 插件:[1]:https ://i.stack.imgur.com/Or3q3.png

标签: springspring-bootwsdlcxf-codegen-plugin

解决方案


如果您可以很好地共享 wsdl,但是,我可以说的信息很少,您已经定义了两次元素/方法,或者您有一个没有正确命名空间的导入并且正在使用相同的定义。


推荐阅读