这个异常出现的原因是我的各个服务的endpoint即ip:port内容不正确,是得项目中的各个微服务的事务[无法连接进seata-serve中],(https://blog.youkuaiyun.com/xxzblog/article/details/101597538)
但具体要如何保证正确的endpoint呢?经过我一番查询,发现我只需将各个微服务下resources->file.conf->service下的vggroup_mapping.xxx="default"中的xxx修改为服务名-fescar-service-gruop即可保证正常运行。
而具体这样改的原因,我认为是我在registry.conf中设置我的注册中心为file类型,而其中注册相关的信息都被写在file.conf中,故需要在file.conf使用设定好的服务名,来让seata.server得到正确的微服务地址。
PS:这的异常跟你的seata版本没有关系,至少我试过了很多版本都没什么改变!!!