-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShardingSphereAlgorithmPostProcessor.init() not called #18093
Comments
Can you provide your configuration with text format? |
spring: |
I have also encountered a similar problem, which may be affected by the loading order of different beans in the project. You can observe whether there is a similar log:
|
I can't reproduce this problem, Maybe you can provide a demo project?
|
yeah,i got this trationDelegate$BeanPostProcessorChecker : Bean 'tb-algorithm' of type [org.apache.shardingsphere.sharding.algorithm.sharding.classbased.ClassBasedShardingAlgorithm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
please take it! |
Thx, i will see |
@vincentlbh Can you use this project try it again? |
oh, sorry, i forgot something, earlier i had to add this class to solve that problem. |
I found it, and i commented it out |
The class |
When will 5.1.3 be released? |
I think the datasource bean may not use the beanPostProcessor to init。。In some case other lib will use a beanPostProcessor which depends on the datasource will trigger the bean initialize during the |
Hello , this issue has not received a reply for several days. |
Please integrate ShardingSphere with Spring Boot in new way. |
Question
I was using Shardingsphere-jdbc(5.1.1).

but ShardingSphereAlgorithmPostProcessor.init() was never called! is there something wrong?
The text was updated successfully, but these errors were encountered: