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

spring cloud 最新版本 #128

Open huakaibai opened 3 years ago

huakaibai commented 3 years ago

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.AbstractMethodError: Method org/bytesoft/bytetcc/supports/springcloud/config/SpringCloudSecondaryConfiguration.annotationDrivenTransactionManager()Lorg/springframework/transaction/TransactionManager; is abstract

liuyangming commented 3 years ago

这个问题是由spring版本不兼容导致的,已有相同的issue,可以参考其解决办法: https://github.com/liuyangming/ByteTCC/issues/121, https://github.com/liuyangming/ByteTCC/issues/126