1.13.0-2022.0.4 与 Spring Cloud 2022.0.5 不兼容
envgap__Tencent__spring-cloud-tencent-1231
01 / FAILURE SIGNATURE
As reported upstream
feign.BaseBuilder: file:/D:/local-environment/maven-repository/io/github/openfeign/feign-core/12.5/feign-core-12.5.jar
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
46554a81375af40cbc4032bea288c12050028040- Manifest
pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
Tencent/spring-cloud-tencent #1231 · read the original issue
Spring Cloud 2022.0.5 已经将默认依赖的 Feign 基础版本升级至 12.5。
Feign 12.5 基础接口存在变化,所以导致 SCT 1.13.0-2022.0.4 无法在 Spring Cloud 2022.0.5 环境下运行,会出现代码冲突导致的无法运行问题。
错误信息如下:
```shell
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
com.tencent.cloud.polaris.circuitbreaker.feign.PolarisFeignCircuitBreaker$Builder.build(PolarisFeignCircuitBreaker.java:90)
The following method did not exist:
'feign.Feign com.tencent.cloud.polaris.circuitbreaker.feign.PolarisFeignCircuitBreaker$Builder.build()'
The calling method's class, com.tencent.cloud.polaris.circuitbreaker.feign.PolarisFeignCircuitBreaker$Builder, was loaded from the following location:
jar:file:/D:/local-environment/maven-repository/com/tencent/cloud/spring-cloud-starter-tencent-polaris-circuitbreaker/1.13.0-2022.0.4/spring-cloud-starter-tencent-polaris-circuitbreaker-1.13.0-2022.0.4.jar!/com/tencent/cloud/polaris/circuitbreaker/feign/PolarisFeignCircuitBreaker$Builder.class
The called method's class, com.tencent.cloud.polaris.circuitbreaker.feign.PolarisFeignCircuitBreaker$Builder, is available from the following locations:
jar:file:/D:/local-environment/maven-repository/com/tencent/cloud/spring-cloud-starter-tencent-polaris-circuitbreaker/1.13.0-2022.0.4/spring-cloud-starter-tencent-polaris-circuitbreaker-1.13.0-2022.0.4.jar!/com/tencent/cloud/polaris/circuitbreaker/feign/PolarisFeignCircuitBreaker$Builder.class
The called method's class hierarchy was loaded from the following locations:
com.tencent.cloud.polaris.circuitbreaker.feign.PolarisFeignCircuitBreaker.Builder: file:/D:/local-environment/maven-repository/com/tencent/cloud/spring-cloud-starter-tencent-polaris-circuitbreaker/1.13.0-2022.0.4/spring-cloud-starter-tencent-polaris-circuitbreaker-1.13.0-2022.0.4.jar
feign.Feign.Builder: file:/D:/local-environment/maven-repository/io/github/openfeign/feign-core/12.5/feign-core-12.5.jar
feign.BaseBuilder: file:/D:/local-environment/maven-repository/io/github/openfeign/feign-core/12.5/feign-core-12.5.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of com.tencent.cloud.polaris.circuitbreaker.feign.PolarisFeignCircuitBreaker$Builder
```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]