CXF异常 No DestinationFactory was found for the namespace http://schemas.xmlsoap.o

在学习Webservice使用CXF时遇到异常,错误提示No DestinationFactory was found。问题可能出在配置文件缺少必要导入或CXF相关jar包不完整。解决方案包括确保在配置文件中包含cxo-extension-soap和cxo-servlet的导入,并检查使用最新CXF库的所有jar包。
摘要由CSDN通过智能技术生成
[url]http://blog.csdn.net/running_snail_/article/details/7561067[/url]

最近学习webservice一运行就遇到了这个异常,郁闷。网上发现关于这个异常也是众说纷纭
[java] view plaincopy
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:134)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:160)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:322)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:244)
... 16 more
Caused by: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http.
at org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:115)
at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:86)
at org.apache.cxf.endpoint.ServerImpl.<init>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值