相关疑难解决方法(0)

SpringBoot 3.0.0-M1 + SpringCloud 2022.0.0-M1 [错误] org.springframework.cloud:spring-cloud-starter-sleuth:jar 缺少“dependency.version”

随着 SpringBoot 3.0.0-M1 和 SpringCloud 2022.0.0-M1 的发布,我继续升级版本。

\n

https://spring.io/blog/2022/01/20/spring-boot-3-0-0-m1-is-now-available

\n

https://spring.io/blog/2022/01/27/spring-cloud-2022-0-0-m1-codename-kilburn-has-been-released

\n

虽然在我的 SpringBoot 2.6.3 + Jubilee 上一切正常,但完全相同的代码,只是将 pom 文件的版本更改为新的 SpringBoot 3.0.0-M1 + SpringCloud 2022.0.0-M1 对,但以下错误是观察到的。

\n
/Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=abc -Dmaven.home=maven3 [...] -Didea.version=2021.3.1 clean install\n[INFO] Scanning for projects...\n[ERROR] [ERROR] Some problems were encountered while processing the POMs:\n[ERROR] \'dependencies.dependency.version\' for org.springframework.cloud:spring-cloud-starter-sleuth:jar is missing. @ line xx, column 21\n[ERROR] \'dependencies.dependency.version\' for org.springframework.cloud:spring-cloud-sleuth-zipkin:jar is missing. @ line xx, column 21\n @ \n
Run Code Online (Sandbox Code Playgroud)\n

根据 Spring Cloud 官方文档:

\n
Spring Cloud Sleuth\n\nSpring Cloud Sleuth\xe2\x80\x99s last …
Run Code Online (Sandbox Code Playgroud)

java spring-boot spring-cloud-sleuth

6
推荐指数
1
解决办法
4751
查看次数

标签 统计

java ×1

spring-boot ×1

spring-cloud-sleuth ×1