liuyangming / ByteTCC

ByteTCC is a distributed transaction manager based on the TCC(Try/Confirm/Cancel) mechanism. It’s compatible with the JTA specification. User guide: https://github.com/liuyangming/ByteTCC/wiki
https://www.bytesoft.org/
GNU Lesser General Public License v3.0
2.9k stars 911 forks source link

最新demo启动失败,使用出现问题 #61

Open apple987 opened 6 years ago

apple987 commented 6 years ago

先决条件: 1.创建对应本地数据库实例,配置好数据库连接 2.配置本地hosts文件,添加127.0.0.1 inst1 127.0.0.1 inst2

最新版demo样例使用时会出现以下问题: 1.本地consumer编译之后,出现asm包冲突 2.排除asm冲突,启动项目之后,postman发送如下请求 http://localhost:7080/transfer?sourceAcctId=1001&targetAcctId=2001&amount=12 3.会出现Invalid bound statement (not found): com.bytesvc.consumer.dao.TransferDao.increaseAmount mybatis配置项存在问题。