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

not eligible for auto-proxying #439

Closed jackli0909 closed 2 years ago

jackli0909 commented 2 years ago

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

Enviroment

JDK Version(required): 1.8 SpringBoot Version(required): 2.3.12 relase dynamic-datasource-spring-boot-starter Version(required): 3.4.1 druid Version(optional):

Describe what happened

[Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$c6c3f914] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)]

huayanYu commented 2 years ago

https://blog.csdn.net/feiying0canglang/article/details/119704109