无法解析http://schemas.xmlsoap.org/wsdl/soap/的绑定
我正在使用apache cxf + spring,这些东西在eclipse中运行但不在命令行中运行。 继续得到错误无法解决绑定
方案:
- step1:使用maven shade插件
-
第2步:如果您使用带有cxf的spring,请确保在@Configuration类中添加以下内容
@ImportResource({“classpath:META-INF / cxf / cxf.xml”,“classpath:META-INF / cxf / cxf-extension http.xml”,“classpath:META-INF / cxf / cxf-extension-soap。 xml“})
要么
很大的功劳
http://www.java-allandsundry.com/2011/01/orgapachecxfservicefactoryserviceconstr.html