Spring boot 采用Cxf 整合WebService 运行报错“Error creating bean with name ‘endpoint’ defined ”
由于新项目的需要,项目框架采用Spring boot 1.5.13.RELEASE、jdk 1.8、hive 2.0.0 、cxf 3.1.12等
运行错误
spring boot 整合 WebService 在本地可以正常运行,但打jar包后 运行报错出现“Error creating bean with name ‘endpoint’ defined in class path resource”
部分pom引用,代码如下:
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-spring-boot-starter-jaxws</artifactId>
<version>3.1.12</version>
</dependency>