Spring CXF 3.0.0.org.apache.CXF.BusException:未找到命名空间的DestinationFactoryhttp://schemas.xmlsoap.org/soap/http

Spring CXF 3.0.0.org.apache.CXF.BusException:未找到命名空间的DestinationFactoryhttp://schemas.xmlsoap.org/soap/http,spring,cxf,saml,ws-security,ws-trust,Spring,Cxf,Saml,Ws Security,Ws Trust,使用CXF-STS时,我遇到了异常,因为XML签名验证未能通过签名验证检查:false 正如在《华盛顿邮报》上所讨论的, 因此,假设它在版本3.0.0中得到了修复,我就转到了它。现在启动时,我面临的错误如下: ... 25 more Caused by: org.apache.cxf.service.factory.ServiceConstructionException at org.apache.cxf.frontend.ServerFactoryBean.create(Server

使用CXF-STS时,我遇到了异常,因为
XML签名验证未能通过签名验证检查:false

正如在《华盛顿邮报》上所讨论的, 因此,假设它在版本3.0.0中得到了修复,我就转到了它。现在启动时,我面临的错误如下:

... 25 more
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
    at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:176)
    at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
    at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:456)
    at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
    ... 34 more
Caused by: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http.
    at org.apache.cxf.bus.managers.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:122)
    at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:88)
    at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)
    at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)
。。。25多
原因:org.apache.cxf.service.factory.ServiceConstructionException
位于org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:176)
位于org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
位于org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:456)
位于org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
... 34多
原因:org.apache.cxf.BusException:未找到命名空间的DestinationFactoryhttp://schemas.xmlsoap.org/soap/http.
位于org.apache.cxf.bus.managers.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:122)
位于org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:88)
位于org.apache.cxf.endpoint.ServerImpl.(ServerImpl.java:72)
位于org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)
我无法理解如何真正使用CXF STS示例。请提供一些很好的示例参考,以便在UsernameToken with Encryption场景中使用CXF STS


谢谢

这是因为我的项目有CAMEL-CXF依赖项,其中包含嵌入的CXF 2.7。它可能与新的CXF 3.0.0版本产生了冲突。因此,从类路径中删除它们解决了问题

谢谢