springBoot+maven的webservice接口项目Error creating bean with name
springBoot+maven的webservice接口服务,项目下8个接口,endpoint.publish发布
原本8个接口,服务运行正常,添加一个新的后就报Error creating bean with name 'endpointXyCheck' defined in class path resource [com/jsptpd/Project/service/CxfConfig.class]
新加的service接口
package com.jsptpd.Project.service;
import com.jsptpd.Project.pojo.XyCheckReturnInfo;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
@WebService(targetNamespace = "http://Project.jsptpd.com")// 命名空间,一般是接口的包名
public interface XycheckService {
@WebMethod
void getX5Message(@WebParam(name = "XyCheckReturnInfo") XyCheckReturnInfo m);
}