org.apache.cxf.interceptor.Fault: Could not instantiate service class com.mangoubiubiu.cxf.test.HelloWorld because it is an interface。

1 问题描述 (WebService + cxf)

webservice 调用出错 

2 解决方案

服务端放实现类(我之前报错放的接口。。。)

 

 客户端放接口

3 success

 

posted @ 2021-05-27 22:51  KwFruit  阅读(192)  评论(0编辑  收藏  举报