Cannot find any registered HttpDestinationFactory from the Bus
来源:互联网 发布:如何打开445端口 编辑:程序博客网 时间:2024/06/08 14:53
严重: Cannot find any registered HttpDestinationFactory from the Bus.Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionExceptionat org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:350)at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:239)at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:144)at javax.xml.ws.Endpoint.publish(Endpoint.java:170)at demo.hw.server.Server.<init>(Server.java:31)at demo.hw.server.Server.main(Server.java:36)Caused by: org.apache.cxf.service.factory.ServiceConstructionExceptionat org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:176)at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:203)at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:433)at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:322)... 5 moreCaused by: java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus.at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:270)at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:136)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:158)... 8 more
在使用cxf过程中经常出 Cannot find any registered HttpDestinationFactory from the Bus,一般是没有引入cxf-rt-transports-http-jetty-xxx.jar。查看apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:270)类,jettyFactory为null,也就是缺少http-jetty的实现。如果部署到tomcat一般不会出现这个问题。
阅读全文
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错误
- hadoop put指令失败
- Maven Archetype Plugin创建新工程
- POJ
- Redis用于数据类型 及 应用场景
- tomcat无法启动和关闭
- Cannot find any registered HttpDestinationFactory from the Bus
- 开发CXF JAVA客户端
- geoip设置
- 使用CXF开发RESTFul服务
- 原理图中如何一次性修改(添加)多个相同元件的封装?
- 使用CXF Interceptor&Feature
- 继承
- tftp服务
- Apache.CXF.Web.Service.Development学习笔记