apache / apache/incubator-seata-samples

使用你的版本,nacos-config.txt 中配置错误

Open
#388 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

报错 no available service 'null' found, please make sure registry config correct
查看源码之后, 在 interface RegistryService 中 String PREFIX_SERVICE_MAPPING = "vgroupMapping.";
所以需要将 nacos-config.txt 中 vgroup_mapping修改为 vgroupMappig 实测通过

Contributor guide

Open the contributing guide

Research direction

Start with nacos-config.txt and compare its service-mapping key with RegistryService.PREFIX_SERVICE_MAPPING. Correct the configuration key to match the constant, then verify the sample configuration no longer produces the “no available service 'null' found” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.