spring cloud:2020.0.3
spring boot:2.4.6
今天在使用sentienl+openfeign时,遇到循环依赖的报错
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'org.example.springcloud.service.PaymentService': Requested bean is currently in creation: Is there an unresolvable circular reference?
原因是spring cloud alibaba版本与spring cloud2020不兼容,把spring cloud alibaba版本换成2021.1就可以了