可以解决绑定问题http://schemas.xmlsoap.org/wsdl/soap/ 没有春天

可以解决绑定问题http://schemas.xmlsoap.org/wsdl/soap/ 没有春天,soap,cxf,Soap,Cxf,我已经编写了一个带有cxf依赖项的小型maven项目,它可以与eclipse一起运行(作为Java应用程序运行)。 然后,我使用maven shade插件创建一个可执行jar。 然后从命令行运行jar时,会出现以下异常: javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for http://sche

我已经编写了一个带有cxf依赖项的小型maven项目,它可以与eclipse一起运行(作为Java应用程序运行)。 然后,我使用maven shade插件创建一个可执行jar。 然后从命令行运行jar时,会出现以下异常:

 javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/
我必须指出我使用的是Spring。我对Spring提出了一些建议,建议将一些cxf xml文件放入MeTA INF目录。 我正在使用的cxf依赖项非常愚蠢:

cxf-rt-frontend-jaxws
cxf-rt-transports-http
cxf-rt-transports-http-jetty
都在3.0.1版中

如果有任何线索,我将不胜感激。 谢谢


Edmond

cxf-beans.xml请……这就是重点。我没有cxf-beans.xml,也不知道是否需要。事实上,Eclipse确实在没有额外配置文件的情况下运行应用程序