- I have searched the issues of this repository and believe that this is not a duplicate.
Ⅰ. Issue Description
Seata1.6.1,注册中心为eureka,在springboot3.0.0+springcloud2022.0.0,客户端启动报错
Error creating bean with name 'globalTransactionScanner' defined in class path resource [io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.class]: com/netflix/config/ConfigurationManager
因为springcloud2022.0.0的eureka已经剔除了archaius的依赖,ConfigurationManager不存在
Ⅱ. Environment:
- JDK version : 17
- Seata version: 1.6.1
- SpringBoot: 3.0.0
- SpringCloud: 2022.0.0
3条答案
按热度按时间4ngedf3f1#
@renlm can you submit a pr to fix it ?
6ljaweal2#
springcloud-2021.x 系列通过补充被排除的依赖可以解决,而springcloud-2022.x系列因为jakarta ee模块的改造;netflix专门为此发了一个2.0.0版本,并且有不少变动,像
com.netflix.discovery.DiscoveryClient
基本是构造方法都被重构了。个人认为seata团队先确定版本支持的时间线,以及何时升级相关版本然后改造,否则单纯一个PR会带来一定稳定性上的风险。
rpppsulh3#
用了seata1.7也有同样的问题