idea项目启动报错org/springframework/cloud/client/circuitbreaker/Customizer

发布于:2024-06-11 ⋅ 阅读:(73) ⋅ 点赞:(0)


待解决。

启动项目时报错。
各种神奇的错误都报出来了。
而且maven生成依赖文件里面也没有,真实怪了。

报错 java.lang.IllegalStateException: Error processing condition on org.springframework.cloud.client.CommonsClientAutoConfiguration$DiscoveryLoadBalancerConfiguration.discoveryCompositeHealthContributor

at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)

引入配置:

<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-commons</artifactId>
	<version>3.1.8</version>
</dependency>

继续报错 Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/actuate/health/CompositeHealthContributor

报错 org/springframework/cloud/client/circuitbreaker/Customizer


网站公告

今日签到

点亮在社区的每一天
去签到