Error creating bean with name 'org.apache.cxf.spring.boot.autoconfigure.CxfAutoConfiguration(示例代

Posted 疯子加天才

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error creating bean with name 'org.apache.cxf.spring.boot.autoconfigure.CxfAutoConfiguration(示例代相关的知识,希望对你有一定的参考价值。

Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name ‘org.apache.cxf.spring.boot.autoconfigure.CxfAutoConfiguration‘: Initialization of bean failed; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
换了微服务后,一直报这个错,
最后找到了原因是webservice的这个依赖的版本有冲突
<dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-spring-boot-starter-jaxws</artifactId> <version>3.1.11</version> </dependency>
我们这改为3.2.5即可

以上是关于Error creating bean with name 'org.apache.cxf.spring.boot.autoconfigure.CxfAutoConfiguration(示例代的主要内容,如果未能解决你的问题,请参考以下文章

Error creating bean with name ‘requestMappingHandlerMapping‘

react(85)--error:Error creating bean with name ‘onlineStudyController‘:

Error creating bean with name 'eurekaAutoServiceRegistration'

Spring 报错:Error creating bean with name

Error creating bean with name

Error creating bean with name 'transactionManager'