天天看點

seata RootContext.getXID() 擷取null 的問題

seata RootContext.getXID() 擷取null 的問題

1.檢查是否在業務方法上使用 @GlobalTransactional

2.繼承WebMvcConfigurationSupport配置中獎seata 攔截器注冊一下

seata RootContext.getXID() 擷取null 的問題