baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.76k stars 1.2k forks source link

TransactionalTemplate里使用到了mybatis-plus的工具类 #539

Closed zzzombie207 closed 1 year ago

zzzombie207 commented 1 year ago

Please fill it out carefully, or it will be closed. 请认真填写,不然会直接关闭。

Enviroment

JDK Version(required): 8 SpringBoot Version(required): 2.3 dynamic-datasource-spring-boot-starter Version(required): 4.1.1 druid Version(optional): 1.2.14

Describe what happened

Expected Result: 在不引入mybatis-plus的情况下能使用所有功能

Actual Result: TransactionalTemplate的ArrayUtils是引用的mybatis-plus的工具类,项目没有使用mybatis-plus,产生java.lang.NoClassDefFoundError

If there is an exception,or aop invalid,please attach the exception trace:

Just paste your stack trace here!

Steps to reproduce

huayanYu commented 1 year ago

1