随着 SpringBoot 3.0.0-M1 和 SpringCloud 2022.0.0-M1 的发布,我继续升级版本。
\nhttps://spring.io/blog/2022/01/20/spring-boot-3-0-0-m1-is-now-available
\nhttps://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 @ \nRun Code Online (Sandbox Code Playgroud)\n根据 Spring Cloud 官方文档:
\nSpring Cloud Sleuth\n\nSpring Cloud Sleuth\xe2\x80\x99s last …Run Code Online (Sandbox Code Playgroud)