2024年9月29日后Spring Boot 2.5.3应用Maven编译失败求助
无代码变更下Spring Boot 2.5.3项目CI编译失败问题
自2024年9月29日起,基于Spring Boot 2.5.3的代码库在无任何代码变更的情况下,所有CI任务均出现编译失败问题。
相关依赖清单
spring-cloud-starter-contract-stub-runner spring-boot-starter-test spring-cloud-starter-sleuth spring-cloud-starter-contract-stub-runner spring-boot-starter-web springdoc-openapi-maven-plugin spring-cloud-starter-openfeign spring-boot-starter-validation springdoc-openapi-webmvc-core
编译报错信息
[ERROR]package org.springframework.cloud.openfeign does not exist [ERROR] <class-full-path> cannot find symbol symbol: class FeignClient
已执行的Maven调试操作
mvn dependency:tree -Dverbose > dep6.tree mvn dependency:go-offline > dep.offline #build the code with a clean m2 repo and with debug logging mvn clean package -Dmaven.repo.local=./empty-m2 -DskipTests -X
补充:使用的Maven版本为3.8.1。
内容的提问来源于stack exchange,提问作者Karim Tawfik
相关产品推荐
相关产品推荐

