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

原文地址:https://www.cnblogs.com/thymeleaf/p/11321712.html

时间: 2024-10-10 23:37:09

Error creating bean with name 'org.apache.cxf.spring.boot.autoconfigure.CxfAutoConfiguration的相关文章

Error creating bean with name &#39;org.apache.cxf.binding.soap.customEditorConfigurer&#39;

1.错误描述 2015-09-20 17:08:36 [localhost-startStop-1] WARN org.apache.cxf.bus.spring.BusApplicationContext - Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error

关于BeanCreationNotAllowedException: Error creating bean with name &#39;cxf&#39; 的解决心得

org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'cxf': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy

Error creating bean with name &#39;sessionFactory&#39; defined in class path resource [applicationContext.xm

报错信息如下: <span style="font-size:24px;">17:18:32,245 ERROR ContextLoader:307 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resour

error creating bean with name &quot;&quot; Autowiring of fields failed

service类上要有标注,否则会报下面的错.缺少唯一的一个serivce bean. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception Unable to instantiate Action, orgMgrAction, defined for 'orgMg

Error creating bean with name &#39;security.filter.filterInvocation&#39; defined in URL 报错

严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'security.filter.filterInvocatio

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

这个问题在别人电脑上面没有出现,但我的电脑就出现了,在网上找各种解决方法:有的说是asm.jar冲突,有的说要配置byName,有的说是路径问题但路径明显是正确的. 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.B

ssm整合时出现 org.springframework.beans.factory.BeanCreationException :Error creating bean with name ‘XXX’ 异常的原因及解决方法

ssm整合时出现 org.springframework.beans.factory.BeanCreationException :Error creating bean with name 'XXX' 异常的原因及解决方法(只是可能出现下列几种,不包含全部) 此异常为:注入 bean 失败异常,也就是找不到注入的bean. 可能有以下几种原因: 1.bean未注解或者注解错误 2.项目整合的时候jar包冲突 3.'XXX'的配置有错误 解决:1,3仔细检查就是,网上大部分的人应该是2这种错误,

阿里云图片或文件上传 启动时报Error creating bean with name &#39;ossClient&#39;问题

异常的主要信息是说无法创建ossClient对象 下面debug显示出具体的原因是因为找不到org.apache.http.ssl.TrustStrategy org.apache.http.ssl.TrustStrategy其实是httpClient jar包中的,原因是因为httpClient 的版本过低,jar包中没有org.apache.http.ssl.TrustStrategy, 所以只需要从maven仓库中下载最新的httpClient jar包即可.本人之前用的是 后来把版本号修

【报错】org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#39;webSocketHandlerMapping&#39; defined in class path resource

环境:maven+eclipse+jdk1.8 [tomcat使用的是maven自带的插件,实质原因就是出在tomcat版本问题] 背景:在进行SSM集成WebSocket的时候,项目启动报org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webSocketHandlerMapping' defined in class path resource错误,详细如下 org.