Caused by: java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf-extension-soap.xml] cannot be opened because it does not exist
用的最新版本,這個版本中 cxf-extension-soap.xml 不需要了直接在配置文件中刪除即可
現在只需要引兩個文件
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>