今天线上的项目换成了多数据源的模式,应为多数据源使用的是mybatis-plus的dynamic-datasource-spring-boot-starter这个包,版本是3.3.0
com.baomidou dynamic-datasource-spring-boot-starter3.3.0
在线上进行启动的时候,出现了java.lang.NoClassDefFoundError:io/seata/rm/datasource/SeataDataSourceProxy的问题。
目前的解决方法是将dynamic-datasource-spring-boot-starter升级到3.3.1版本,则启动没有问题了。具体是为什么原因,暂时还没有查明。



