seata :no available service ‘null‘ found, please make sure registry config correct

记录一下这个有点坑的问题:
no available service ‘null’ found, please make sure registry config correct在这里插入图片描述
springboot 2.2.9
springcloud alibaba 2.2.1
seata 1.3
nacos 1.3.2

按照最新的seata文档搭建好后一直报这个错,根据网上的解决方案检查注册中心配置没问题

registry.conf

	registry {
  # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa
  type = "nacos"
  nacos {
    application = "server-seata"
    serverAddr = "xxx:8848"
    group = "DEFAULT_GROUP"
    namespace = "cloud-platform-dev"
    cluster = "default"
    username = "nacos"
    password = "nacos"
  }
}

config {
  # file、nacos 、apollo、zk、consul、etcd3
  type = "nacos"
  nacos {
    serverAddr = "xxxx:8848"
    group = "DEFAULT_GROUP"
    namespace = "cloud-platform-dev"
    username = "nacos"
    password = "nacos"
  }
}



file.conf

store {
   
  ## store mode: file、db、redis
  mode = "db"
 ## database store property
  db {
   
    ## the implement of javax.sql.DataSource, such as DruidDataSource(druid)/BasicDataSource(dbcp)/HikariDataSource(hikari) etc.
    datasource = "druid"
    ##
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

阳十三

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值