baomidou / dynamic-datasource

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

添加actuator依赖后显示DynamicDataSourceAopConfiguration警告 #639

Closed haisto closed 3 months ago

haisto commented 4 months ago

Enviroment

JDK Version(required): 17

SpringBoot Version(required): 3.2.5

dynamic-datasource-spring-boot-starter Version(required):4.3.0

druid Version(optional):

Describe what happened

Expected Result: 能解决这个健康检查警告吗

Actual Result:

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

15:00:45.974  WARN 14248 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAopConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAopConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [healthEndpointGroupsBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.

Steps to reproduce

alvinkwok1 commented 4 months ago

问题重复,见 #616

huayanYu commented 3 months ago

4.3.1