【发布时间】:2022-11-14 09:46:39
【问题描述】:
我正在使用 Spring Boot 2.6 和 Spring Cloud Sleuth 3.1.4 每当我运行应用程序时,我都会得到这个:
Your project setup is incompatible with our requirements due to following reasons:
- Spring Boot [2.6.0] is not compatible with this Spring Cloud release train
Action:
Consider applying the following actions:
- Change Spring Boot version to one of the following versions [2.4.x, 2.5.x] .
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].
If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.
If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]
根据 release train 2021.0.x 应该与 Spring boot 2.6 兼容,而 sleuth 3.1.4 是其中的一部分。
我在这里错过了什么吗?
【问题讨论】:
-
正如您所提到的,这个版本的 Spring Cloud Sleuth 应该可以工作。也许某处存在冲突的依赖关系,导致导入错误的版本。你能告诉我们你的
pom.xml吗(最好是最小版本,只包括重现问题所需的依赖项)。
标签: java spring-boot spring-cloud spring-cloud-sleuth