seata 1.8.0 报错大全

基于seata1.8.0

  • seata独立数据库

can not get cluster name in registry config ‘service.vgroupMapping.default_tx_group‘

Failed to fetch schema of test_order

Failed to fetch schema of test_order

业务数据表必须要有主键!

找不到undo_log

CREATE TABLE `undo_log` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) NOT NULL,
  `xid` varchar(100) NOT NULL,
  `context` varbinary(128) NOT NULL,
  `rollback_info` longblob NOT NULL,
  `log_status` int(11) NOT NULL,
  `log_created` datetime NOT NULL,
  `log_modified` datetime NOT NULL,
  `ext` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ux_undo_log` (`xid`,`branch_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

注意编码

搭建时,参考

//https://blog.csdn.net/qq_41062545/article/details/134186758
//https://blog.csdn.net/fu_huo_1993/article/details/120504020
//版本关系
//https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E#2021x-%E5%88%86%E6%94%AF
//1.8
//https://blog.csdn.net/Edison_C_/article/details/144735650
posted @ 2025-08-20 18:11  方东信  阅读(13)  评论(0)    收藏  举报