codingapi / codingapi/tx-lcn

使用LCN5.0.2,使用eureka注册中心报错

Open
#392 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4.2k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

- [ ] I have searched the [issues](https://github.com/codingapi/tx-lcn/issues) of this repository and believe that this is not a duplicate.

### 1. Bug Description
springboot1.5.19版,springcloud Dalston.SR1版 使用eureka1.3.1做为注册中心,访问请求时报错

### 2. Environment:
- JDK version:
- OS:
- TX-LCN version: 5.0.2
- Others:
springboot1.5.19版,springcloud Dalston.SR1版
### 3. Exception Stacktrace
java.lang.AbstractMethodError: org.springframework.cloud.netflix.eureka.serviceregistry.EurekaRegistration.getHost()Ljava/lang/String;
at com.codingapi.txlcn.tracing.http.ribbon.TxlcnZoneAvoidanceRule.choose(TxlcnZoneAvoidanceRule.java:60) ~[txlcn-tracing-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at com.netflix.loadbalancer.BaseLoadBalancer.chooseServer(BaseLoadBalancer.java:736) ~[ribbon-loadbalancer-2.2.2.jar:2.2.2]
at com.netflix.loadbalancer.ZoneAwareLoadBalancer.chooseServer(ZoneAwareLoadBalancer.java:113) ~[ribbon-loadbalancer-2.2.2.jar:2.2.2]

### 4. Tour Idea
eureka版本号1.3.1太低,EurekaRegistration没有提供getHost等方法

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.