Ⅰ. Issue Description
xa 模式 在org.mariadb.jdbc:mariadb-java-client:3.x.x 依赖下找不到 org/mariadb/jdbc/MariaXaConnection
经过下载 mariadb-java-client:2.7.x 和 mariadb-java-client:3.x.x 版本比较
org/mariadb/jdbc/MariaXaConnection 仅存在于mariadb-java-client:2.7.x , 在 mariadb-java-client:3.x.x 找不到
Ⅱ. Describe what happened
希望在XA模式下提供 org.mariadb.jdbc:mariadb-java-client:3.x.x 版本支持
Caused by: java.lang.NoClassDefFoundError: org/mariadb/jdbc/MariaXaConnection
at io.seata.rm.datasource.util.XAUtils.createXAConnection(XAUtils.java:66)
at io.seata.rm.datasource.util.XAUtils.createXAConnection(XAUtils.java:43)
at io.seata.rm.datasource.xa.DataSourceProxyXA.getConnectionProxyXA(DataSourceProxyXA.java:112)
at io.seata.rm.datasource.xa.DataSourceProxyXA.getConnectionProxy(DataSourceProxyXA.java:101)
at io.seata.rm.datasource.xa.DataSourceProxyXA.getConnection(DataSourceProxyXA.java:88)
1条答案
按热度按时间qlckcl4x1#
Additional,3.x XAConnection impl
MariaXaConnection
was move toMariaDbPoolConnection
,linkPR