cxf未开启服务端时产生的报错org.apache.cxf.interceptor.Fault: Could not send Message.

报错信息:

org.apache.cxf.interceptor.Fault: Could not send Message.

at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)

at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)

at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)

at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)

at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326)

at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)

报错原因:

cxf没有开启服务端,只开启了客户端。

解决方法:

先开启服务端再开启客户端。

你可能感兴趣的:(debug)