Cannot find any registered HttpDestinationFactory from the Bus.
来源:互联网 发布:朱生豪 莎士比亚 知乎 编辑:程序博客网 时间:2024/06/16 03:36
14:21:34.608 INFO [main][] o.a.c.s.f.ReflectionServiceFactoryBean - Creating Service {http://ws.ecs.com/}userWs from class com.ecs.ws.UserWs14:21:34.986 ERROR [main][] o.a.c.t.http.HTTPTransportFactory - Cannot find any registered HttpDestinationFactory from the Bus.javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:369) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251) at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:152) at javax.xml.ws.Endpoint.publish(Endpoint.java:170) at com.ecs.ws.PublishTest.main(PublishTest.java:11)Caused by: org.apache.cxf.service.factory.ServiceConstructionException at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:178) at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211) at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:454) at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334) ... 4 moreCaused by: java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus. at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:295) at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:142) at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:93) at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160) ... 7 more
在使用websesrvice的时候, 发布服务出现了错误, 因为缺失了cxf-rt-transports-http-jetty依赖包, 加入以下依赖即可
<dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf-version}</version></dependency>
0 0
- Cannot find any registered HttpDestinationFactory from the Bus.
- Cannot find any registered HttpDestinationFactory from the Bus
- Cannot find any registered HttpDestinationFactory from the Bus
- java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus.
- java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus.
- 【原】Cannot find entry file index.ios.js [index.android.js] in any of the roots
- Cannot find bean in any scope
- Cannot find bean: "serivceList" in any scope
- Cannot find bean: "test" in any scope
- Cannot find bean userinfo in any scope
- Cannot find bean in any scope
- Cannot find any information on property问题
- Cannot find bean: "EmpNumber" in any scope
- 问题“cannot find any provider supporting des”
- React Native demo运行报错:Cannot find entry file index.android.js in any of the roots
- React Native 运行报错:Cannot find entry file index.android.js in any of the roots
- [ERROR] Cannot find or open table wu777/processlist from the internal data dictionary of InnoDB tho
- Cannot find bean beanList in any scope错误
- android 签名
- 老项目将V4包替换成V7包的时候,同步gradle文件报Error:(4) Error retrieving parent for item: No resource found that match
- dump文件分析
- 【C++】错误 164 error C4996: 'std::_Fill_n':
- java synchronized互斥锁使用
- Cannot find any registered HttpDestinationFactory from the Bus.
- 服务器TIME_WAIT和CLOSE_WAIT详解和解决办法
- oracle行锁 select for update
- lintcode 两数组的交
- 父子进程对静态变量的操作不会相互影响
- 易错题总结2
- 【框架-MFC】CToolTipCtrl 换行显示
- Caffe学习系列(5):其它常用层及参数
- 为什么说Singleton 模式现在成为了反模式(Anti-Pattern)?