compatible version of org.springframework.boot.actuate.health.CompositeHealthIndicator
前言
springboot版本2.2.2 启动eureka注册中心
错误信息
Description:An attempt was made to call a method that does not exist. The attempt was made from the following location:org.springframework.cloud.client.discovery.health.DiscoveryCompositeHealthIndicator.<init>(DiscoveryCompositeHealthIndicator.java:42)The following method did not exist:org.springframework.boot.actuate.health.CompositeHealthIndicator.<init>(Lorg/springframework/boot/actuate/health/HealthAggregator;)VThe method's class, org.springframework.boot.actuate.health.CompositeHealthIndicator, is available from the following locations:jar:file:/D:/Program%20Files/My_repository/org/springframework/boot/spring-boot-actuator/2.2.2.RELEASE/spring-boot-actuator-2.2.2.RELEASE.jar!/org/springframework/boot/actuate/health/CompositeHealthIndicator.classIt was loaded from the following location:file:/D:/Program%20Files/My_repository/org/springframework/boot/spring-boot-actuator/2.2.2.RELEASE/spring-boot-actuator-2.2.2.RELEASE.jarAction:Correct the classpath of your application so that it contains a single, compatible version of org.springframework.boot.actuate.health.CompositeHealthIndicatorDisconnected from the target VM, address: '127.0.0.1:61951', transport: 'socket'Process finished with exit code 0
解决办法
参考:http://www.cocoachina.com/articles/30895
自己的解决方法:
我使用的ide是idea。把该工程下的iml文件删掉,然后其他的在项目里面重新设置。重新clear install。启动成功。
compatible version of org.springframework.boot.actuate.health.CompositeHealthIndicator相关推荐
- 解决 Spring Cloud 整合 zipkin 报错:org.springframework.boot.actuate.health.CompositeHealthIndicator......
文章目录 一.问题描述 二.解决方法 一.问题描述 我的 Spring Boot 版本是 2.3.4,Spring Cloud 版本是 Hoxton.SR1. 要整合 zipkin,先在服务端导入了以 ...
- springcloud-eureka启动报错,提示The following method did not exist: org.springframework.boot.actuate.health
报错信息汇总 文章目录 报错信息汇总 1.springcloud-eureka启动报错,提示The following method did not exist: org.springframewor ...
- SpringCloud_Eureka:java.lang.NoClassDefFoundError: org/springframework/boot/actuate/health/HealthAgg
环境:intellij idea 2018.1.8 + jdk1.8 + spring boot 2.2.0.RELEASE 参考:https://www.cnblogs.com/grasp/p/92 ...
- 关闭springboot健康检查 org.springframework.boot.actuate.health.AbstractHealthIndicator 89 health - Elastic
错误日志:org.springframework.boot.actuate.health.AbstractHealthIndicator 89 health - Elasticsearch healt ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.boot.actuate.health.OrderedHealthAg
依赖添加 <dependency><groupId>org.springframework.boot</groupId><artifactId>spri ...
- jrebel java.lang.ClassCastException: org.springframework.boot.actuate.endpoint.annotation
在看开源项目 xxl-job 时,使用jrebel启动报错: Caused by: java.lang.ClassCastException: org.springframework.boot.act ...
- org/springframework/boot/actuate/metrics/cache/CacheMeterBinderProvider not found. Make sure your ow
报错信息如下 java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.act ...
- Error processing condition on org.springframework.boot.actuate.autoconfigure.audit.AuditEventsEndpoi
错误信息: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candi ...
- org.springframework.boot.actuate.endpoint.EndpointId cannot be cast to java.lang.String 异常处理
转自:https://blog.csdn.net/qq_38906421/article/details/84028240 java.lang.ClassCastException: org.s ...
最新文章
- 图论 ---- CF700 C. Break Up(Tarjan找桥+枚举+思维)
- 如何使Sybase ASE中对象名不区分大小写?
- Android开发--Wifi的操作
- linux下aio异步读写详解与实例
- hdu 4983(欧拉函数)
- [C++程序设计]指针总结
- 换工作了,开始用金蝶的BOS了,好多东西都要学啊!
- Lyapunov and Stability Theory
- 1050 螺旋矩阵 (25 分
- 【jQuery笔记Part2】02-jQuery展开收起动画帷幔效果案例下拉菜单案例显示隐藏更多案例折叠菜单案例
- 如何理解FPGA的配置状态字寄存器Status Register
- 数据库建表操作SQL代码大全
- iOS 开发者常用的75 个工具
- 前端工程师的第一个Flutter应用
- Pandas学习 - 索引
- 花花公子推荐伤感qq日志:乖不哭,我拜你
- Laravel 生成Controller
- SVAC1.0帧内预测技术分析
- 图灵机器人php调用案例,使用httpclient实现图灵机器人web api调用实例
- 单页面SPA(如react,vue)网站的服务器渲染SSR之SEO大杀器rendertron(超详细配置+避坑)