You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.17 05:32:33