ShardingSphere启动日志中BeanPostProcessorChecker提示not eligible for auto-proxying

来源:6-2 路由策略(1)

Fxdom

2021-05-25

项目能正常启动,但是日志一直有这么三行

2021-05-25 15:57:51.573  INFO 10683 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'stringToNoneShardingStrategyConfigurationConverter' of type [org.apache.shardingsphere.spring.boot.converter.StringToNoneShardingStrategyConfigurationConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-05-25 15:57:51.584  INFO 10683 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.shardingsphere-org.apache.shardingsphere.spring.boot.prop.SpringBootPropertiesConfiguration' of type [org.apache.shardingsphere.spring.boot.prop.SpringBootPropertiesConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-05-25 15:57:51.862  INFO 10683 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shardingsphere.spring.boot.SpringBootConfiguration' of type [org.apache.shardingsphere.spring.boot.SpringBootConfiguration$$EnhancerBySpringCGLIB$$b875b6fe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

Bean加载不对,这些Bean都不是被BeanFactory注册的。请问老师怎么解决?

写回答

1回答

廖师兄

2021-05-25

你配置得不对吧。或者版本不符

0
2
廖师兄
回复
Fxdom
没有影响,可以看到这是info日志。
2022-01-25
共2条回复

Java分布式系统解决方案 掌握企业级分布式项目方案

分布式六大命门逐一剖析破解,廖师兄带你寻找最优解

495 学习 · 97 问题

查看课程