- 启动项目后报错:
- 分析
- 解决
今天用springboot2.x写了个webservice的接口 启动项目后报错:
class not found EmbeddedServletContainerAutoConfiguration
分析pom.xml文件中的依赖如下:
org.springframework.boot spring-boot-starter-parent 2.2.5.RELEASE org.apache.cxf cxf-spring-boot-starter-jaxws 3.1.16
cxf-spring-boot-starter-jaxws 版本低了 升级版本
解决org.apache.cxf cxf-spring-boot-starter-jaxws 3.2.6
org.apache.cxf的依赖版本改到3.2.6,重新编译就好了



