当前位置:网站首页>no available service ‘null‘ found, please make sure registry config correct
no available service ‘null‘ found, please make sure registry config correct
2022-06-12 18:46:00 【BackgroundHero】
Error screenshots

Error description
Here it is spring Integrate seata Error when starting
The reason for the error
The configuration address set here is stored in nacos Upper 
And in the nacos There is no upload configuration on 
Problem solving
Go first Gihub download seata The source file
Download address
After downloading, add it to the following folder 
There is a config.txt Text
Make a copy
modify confit.txt The following content
service.vgroupMapping.my_test_tx_group=default
service.disableGlobalTransaction=false
store.mode=db
store.db.datasource=druid
store.db.dbType=mysql
store.db.driverClassName=com.mysql.cj.jdbc.Driver
store.db.url=jdbc:mysql://xxxxx:3306/seata?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true
store.db.user=root
store.db.password=root
store.db.minConn=5
store.db.maxConn=30
store.db.globalTable=global_table
store.db.branchTable=branch_table
store.db.queryLimit=100
store.db.lockTable=lock_table
store.db.maxWait=5000
My modification here is based on my seata Configured , my seata It is stored in a database , The database version is 8
Configure your own part of the configuration stored in other ways
What needs to be noted here is
service.vgroupMapping The following values need and seata In the configuration tx-service-group Have the same value 
After modification, enter nacos File directory
There's a nacos-config.sh file 
Right click on this page 
Open a black window
This option installs git Usually there will be
If you haven't read this article
No, Git Bahs
Enter the code
sh nacos-config.sh -h nacos Address -g SEATA-GROUP
The other parameters
-h Need to inject nacos host ip
-p nacos Run port number
-g Specifies the grouping of the profile ( optional )
-u nacos Account
-w nacos password
-t Appoint nacos Namespace ( optional )
Be careful : there nacos-config.sh and config.txt Not in the same folder , Never be smart enough to move file locations , Run directly by command nacos-config.sh that will do
View after execution nacos
Import complete
Restart again 
perfect !
边栏推荐
- 2022.6.12-----leetcode.890
- Title 66: input 3 numbers a, B, C, and output them in order of size.
- Leetcode 416. 分割等和子集
- 【sql语句基础】——查(select)(单表查询)
- Judging the quality of American advanced anti DDoS servers depends on three points!
- leetcode:5259. Calculate the total tax payable [simple simulation + see which range]
- Use of nexttick function
- Leetcode 1049. 最后一块石头的重量 II
- A fruitful afternoon
- A story on the cloud of the Centennial Olympic Games belonging to Alibaba cloud video cloud
猜你喜欢
![Free measurement of rectangular card [manual drawing ROI] Based on Halcon](/img/c5/d9109ed4024aff521e1788c63bff4e.png)
Free measurement of rectangular card [manual drawing ROI] Based on Halcon

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

Analyzing mobx responsive refresh mechanism from source code

Review of MySQL (VI): usage of Union and limit

Gd32f4xx controls dgus variable display

Title 54: take 4 ~ 7 bits of an integer a from the right end.

Common methods and examples of defect detection based on Halcon
![[today in history] June 12: the United States entered the era of digital television; Mozilla's original developer was born; 3com merges with American Robotics](/img/91/d7d6137b95f6348f71692164614340.png)
[today in history] June 12: the United States entered the era of digital television; Mozilla's original developer was born; 3com merges with American Robotics
![leetcode:6094. Company name [group enumeration + cannot repeat set intersection + product Cartesian product (repeat indicates length)]](/img/6c/f42bbec7ff2ec0d104f1dd2c97eab6.png)
leetcode:6094. Company name [group enumeration + cannot repeat set intersection + product Cartesian product (repeat indicates length)]

MySQL advanced learning notes
随机推荐
leetcode:6096. 咒语和药水的成功对数【排序 + 二分】
Two months later, my second listing anniversary [June 2, 2022]
leetcode:6095. Strong password verifier II [simple simulation + direct false]
六石认知学:大脑的显速与潜速
Kali implements port forwarding through iptables
[blockbuster release] ant dynamic card, enabling the app home page to realize agile update
C language learning -- data storage in memory
MySQL数据库实验一 数据定义
【历史上的今天】6 月 12 日:美国进入数字化电视时代;Mozilla 的最初开发者出生;3Com 和美国机器人公司合并
Common methods and examples of defect detection based on Halcon
Title 37: sorting 10 numbers
Redis(三十二)-用Redis做分布式锁
基于Halcon的矩形卡片【手动绘制ROI】的自由测量
即时配送的订单分配策略:从建模和优化-笔记
基于halcon—缺陷检测常用方法与示例总结
Daily blog - micro service permission 12 matters
A fruitful afternoon
Judging the quality of American advanced anti DDoS servers depends on three points!
MySQL数据库(28):变量 variables
国内如何下载Vega