CXF - prefix wsdp is not bound to a namespace - with linked exception - 报错处理

来源:互联网 发布:送你一颗子弹 知乎 编辑:程序博客网 时间:2024/06/12 09:29

    使用3.1.3 版本的cxf 组件启动正常,使用数据传输正常,但是每个几分钟会报一段奇怪错误。


Caused by: java.lang.IllegalArgumentException: prefix wsdp is not bound to a namespaceat com.sun.xml.bind.DatatypeConverterImpl._parseQName(DatatypeConverterImpl.java:369)at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$23.parse(RuntimeBuiltinLeafInfoImpl.java:817)... 40 moreDefaultValidationEventHandler: [ERROR]: prefix wsdp is not bound to a namespace      Location:  node: [wsd:Types: null]DefaultValidationEventHandler: [ERROR]: prefix wsdp is not bound to a namespace      Location:  node: [wsd:Types: null]javax.xml.bind.UnmarshalException: prefix wsdp is not bound to a namespace - with linked exception:

找了很多文章,目前暂时解决方案是在引用包中去掉以下四个包。具体原因还在研究中,也请已知道根本原因的网友分享下。

去掉这几个jar包
cxf-services-ws-discovery-api-3.1.4.jar
cxf-services-ws-discovery-service-3.1.4.jar
cxf-services-wsn-api-3.1.4.jar
cxf-services-wsn-core-3.1.4.jar





1 0
原创粉丝点击