文章目录
-
-
- 报错 java.lang.IllegalStateException: Error processing condition on org.springframework.cloud.client.CommonsClientAutoConfiguration$DiscoveryLoadBalancerConfiguration.discoveryCompositeHealthContributor
- 继续报错 Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/actuate/health/CompositeHealthContributor
- 报错 org/springframework/cloud/client/circuitbreaker/Customizer
-
待解决。
启动项目时报错。
各种神奇的错误都报出来了。
而且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>