Seata分布式事务 no available server to connect.
此处第一注意:
file.conf 文件中 service模块的
vgroup_mapping.my_test_tx_group = “default” 这行
与application.yml 中spring.cloud.alibaba.seata.tx-service-group 属性要一致
二、如果是复制github上官网给的快速搭建中的file.conf文件,有一个地方要注意service模块中vgroupMapping.my_test_tx_group = "default 这行vgroupMapping使用的是驼峰,这样直接运行也会报no available server to connect,要改成vgroup_mapping运行就能成功
运行成功