We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按照项目中的docker-compose.yaml,配置了中间件,seata正常启动没有报错,但是开启product项目,显示如下错误
2023-02-08 10:31:43.215 ERROR 69014 --- [eoutChecker_1_1] i.s.c.r.netty.NettyClientChannelManager : no available service found in cluster 'default', please make sure registry config correct and keep your seata server running
mall4cloud-seata: image: seataio/seata-server:1.4.2 container_name: mall4cloud-seata restart: always depends_on: - mall4cloud-mysql - mall4cloud-nacos ports: - 8091:8091 environment: - SEATA_IP=127.0.0.1 - SEATA_CONFIG_NAME=file:/root/seata-config/registry volumes: - ./seata:/root/seata-config
docker中查看挂载的文件是正确的
registry { type = "nacos" nacos { application = "seata-server" serverAddr = "127.0.0.1:8848" group = "SEATA_GROUP" namespace = "4b70485d-72dd-44df-a76a-7a3f578a3001" cluster = "default" username = "nacos" password = "nacos" } } config { type = "nacos" nacos { serverAddr = "127.0.0.1:8848" namespace = "4b70485d-72dd-44df-a76a-7a3f578a3001" group = "SEATA_GROUP" username = "nacos" password = "nacos" } }
application-dev.yml中配置为
seata: config: type: nacos nacos: namespace: 4b70485d-72dd-44df-a76a-7a3f578a3001 server-addr: ${spring.cloud.nacos.discovery.server-addr} password: ${spring.cloud.nacos.discovery.password} username: ${spring.cloud.nacos.discovery.username} registry: type: nacos nacos: server-addr: ${spring.cloud.nacos.discovery.server-addr} username: ${spring.cloud.nacos.discovery.username} password: ${spring.cloud.nacos.discovery.password} namespace: ${seata.config.nacos.namespace}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
按照项目中的docker-compose.yaml,配置了中间件,seata正常启动没有报错,但是开启product项目,显示如下错误
docker中查看挂载的文件是正确的
application-dev.yml中配置为
The text was updated successfully, but these errors were encountered: