Post-processing of merged bean definition failed; spring cloud Eureka 启动报错
启动 Eureka 报错 Post-processing of merged bean definition failed merged bean 过程又错 这时候要检查一下 Eureka 版本和Spring Boot 的版本对不对得上 ,我现在Spring Boot 版本是
<version>2.7.0</version>
Eureka 版本是
<version>2.2.2.RELEASE</version>
这样报错很正常版本不兼容,把Eureka 版本改成
<version>3.1.2</version>
就可以正常启动了
具体版本对应关系可以参考下官方文档
报错细节
org.springframework.beans.factory.BeanCreationException: 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 [sun.misc.Launcher$AppClassLoader@18b4aac2]at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-5.3.20.jar:5.3.20]at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.20.jar:5.3.20]at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.20.jar:5.3.20]
Post-processing of merged bean definition failed; spring cloud Eureka 启动报错相关推荐
- Spring Cloud/Boot启动报错Consider defining a bean of type ServerCodecConfigurer
网关项目启动报错内容如下: Error starting ApplicationContext. To display the conditions report re-run your applic ...
- Spring Cloud Feign 启动报错 java.lang.ClassNotFoundException: org.springframework.cloud.client.loadbalan
问题描述:在Spring Cloud项目中引入了feign后启动项目,项目会报错:java.lang.ClassNotFoundException: org.springframework.cloud ...
- spring cloud 集成sentinel 报错 Failed to introspect Class
今天在 spring cloud 集成sentinel 的时候 发现报错 Failed to introspect Class [org.springframework.boot.autoconfi ...
- spring融合activitymq-all启动报错的解决办法
报错信息: nested exception is java.lang.NoSuchMethodError: org.springframework.core.annotation.Annotated ...
- 解决 Spring Cloud 整合 zipkin 报错:org.springframework.boot.actuate.health.CompositeHealthIndicator......
文章目录 一.问题描述 二.解决方法 一.问题描述 我的 Spring Boot 版本是 2.3.4,Spring Cloud 版本是 Hoxton.SR1. 要整合 zipkin,先在服务端导入了以 ...
- spring cloud 2021 gateway 报错503 Service Unavailable
gateway的application.yml文件配置如下: server:port: 8001 spring:cloud:gateway:#路由配置routes:#唯一标识符- id: driver ...
- spring MVC项目启动报错
错误如下: 严重: StandardWrapper.Throwable org.springframework.beans.factory.BeanCreationException: Error c ...
- Spring Boot 工程启动报错“org.springframework.context.ApplicationContextException: Unable to start ...“解决方案
Spring Boot 工程在服务器上启动时候,一直报如下错误: POD名:xxx-service-2264321674-pdcd7: 部署版本号:1512978430164: POD阶段:Runni ...
- 解决高版本SpringBoot整合swagger时启动报错:Failed to start bean ‘documentationPluginsBootstrapper‘ 问题
一.控制台的报错信息 2021-12-29 15:15:04 [main] ERROR org.springframework.boot.SpringApplication - Application ...
- 启动报错 Bean instantiation via factory method failed
启动报错 Bean instantiation via factory method failed 在引入 mybatis-plus 之后,启动项目总是报错 Bean instantiation vi ...
最新文章
- 在docker中搭建apache Tomcat+JDK环境
- 设计模式-建造者模式(转自:http://www.cnblogs.com/cbf4life/archive/2010/01/14/1647710.html)...
- Project interpreter not specified(eclipse+pydev)
- 【代码笔记】iOS-浮动的云
- 标准配置的UBUNTU 11.10 RUBY VMWARE 镜像,手工MOD(ZSH_RVM_RAILS_VIM)
- Requests库实战(四)---爬取肯德基餐厅地址信息
- delimiter在mysql中的作用_细细研究MySql中delimiter起到的作用_MySQL
- 睡觉时,禁带6种东西,最后一点最严重,可能致命
- C# Excel导入、导出
- SELECT语句选项
- MySQL数据库如何管理与维护_MySQL安全管理、数据库维护及改善性能
- Tableau 2021安装教程
- Git和Github的基本操作
- 思科模拟器配置默认路由(下一跳使用端口)
- Linux安全审计之audit安装与使用
- windows 下搭建git服务器,及问题处理。
- Tab页面知识整理及其方法分析
- 中国Linux公社校园联络员第四次全体大会会议记录
- 【年度总结】于无声处听惊雷-2016年度总结
- python数学建模