failed to introspect Class[org.springframework.cloud.context.properties.ConfigurationPropertiesBea]
截取部分报错日志信息如下
ERROR 22004 --- [ main] o.s.boot.SpringApplication : Application run failed #springboot启动失败Error creating bean with name 'configurationPropertiesBeans' defined in class path resource
[org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]:
Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException:
Failed to introspect Class [org.springframework.cloud.context.properties.ConfigurationPropertiesBeans] from ClassLoader caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.
cloud.context.properties.ConfigurationPropertiesBeans] from ClassLoader
这个原因是springboot和springframework.cloud版本不一致导致的,我的springboot版本是2.5.1,而springcloud版本是Hoxton.RELEASE,讲springboot版本改为2.2.1.RELEASE,问题迎刃而解
总结:凡是出现以下报错,基本就是jar包版本冲突导致的
Failed to introspect Class [xxxxx] from ClassLoader [xxx]
failed to introspect Class[org.springframework.cloud.context.properties.ConfigurationPropertiesBea]相关推荐
- Failed to introspect Class [org.springframework.cloud.context.properties.ConfigurationPropertiesBean
背景 在使用springboot集成Spring Cloud的时候报错: Failed to introspect Class [org.springframework.cloud.context.p ...
- IDEA| java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.context
问题:java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.context.pr ...
- Failed to introspect Class [org.springframework.cloud.gateway.config.GatewayAutoConfiguration$NettyC
今天碰到一个版本的问题,搭建gateway.idea运行.maven工程来的. 起初运行一直卡在这,无法进入SpringBoot启动的界面 java.lang.IllegalStateExceptio ...
- 【spring_Cloud】java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud
java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.netflix.eurek ...
- 【已解决】Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.properties.
一.前言 最近小编在学习springcloud的项目知识,初出茅庐,跟着视频敲,发现不对劲.视频出的时间太早了,导致和现在的SpringBoot版本不一样,这是个头疼的问题,一个不小心就版本不兼容.击 ...
- springboot日志自定义路径无效及出现org.springframework.boot.context.properties.bind.BindException错误
1.org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'l ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.properties.Configurati
我出现这个错误的原因是,我的maven priject里面子模块下有依赖爆红,这时候因为这个子模块是父工程里面定义的,所以没有定义版本,也不用定义版本,但是因为报错了,我尝试着在子工程中定义了版本这时 ...
- springcloud出现org.springframework.boot.context.properties.ConfigurationPropertie错误
原因是spring boot项目版本和spring cloud版本不兼容,换spring cloud对应版本 boot和cloud的版本选型 Ⅰ.进入springcloud官方页面:https://s ...
- Failed to introspect Class FeignClientFactoryBean 异常排查
报错说明 BeanCreationException: Error creating bean with name 'com.xxx.XxxClient': Lookup method resolut ...
最新文章
- VLOG丨树莓派Raspberry Pi 3安装PLEX并挂载USB硬盘打造最牛的微型家庭影音服务器2018...
- NLP为RPA带来了什么价值?
- 利用vim查看日志,快速定位问题《转载》
- windows10安装Oracle提示错误-INS-13001环境不满足最低要求
- php验证码切换不刷新页面,Yii2解决验证码点击、刷新页面不刷新问题
- matplotlib 高阶之Transformations Tutorial
- linux脚本判断流程控制,linux shell awk 流程控制语句(if,for,while,do)详细介绍
- 动态卷积:自适应调整卷积参数,显著提升模型表达能力 CVPR 2020
- Entity Framework5.0运行时错误ObjectStateManager 中已存在具有同一键的对象
- Android IOS WebRTC 音视频开发总结(四一)-- QQ和webrtc打洞能力pk
- [SHELL] LAMP一键安装脚本设计(v2.1)
- 配置 MVC3 时,403 404 错误
- Windows 下Maven安装配置(本地仓库配置)
- 根据开始日期,结束日期,计算出日历上有几周的方法
- 【C语言】扫雷游戏(包含递归展开、手自动标记功能)
- 关于货币流动的一点思考
- 关于“Threats to Validity”的介绍
- Unity3D-VR《静夜诗》5-李白吟诗
- 《笑傲江湖》人名解读
- COMSOL中导出美观的三维几何结构
热门文章
- 浅谈sql中的in与not in,exists与not exists的区别
- Linux下Socket的简单使用及最简化封装
- hibernate之多对多关联映射
- Linq to SQL 语法记录....并发写事务
- 关于那些表单的验证码
- 三种方法实现轮播图配置,史上最简方法~
- 有限数字生成素数 (10 分)
- 区块链基础学习(一)
- Spring应用上下文 - - context
- mysql unknown column mysql.user_MYSQL创建用户Unknown column 'plugin' in 'mysql.user'的解决