poo0054 commented on issue #18927:
URL: 
https://github.com/apache/shardingsphere/issues/18927#issuecomment-1177354164

   @linghengqian Hello, I tried not to add @component. I have also tried the 
generic type of string. But not at all  。
   In springboot environment
   
   I found that all the init () methods of standardshardingalgorithm were not 
executed.
   As a result, every standardshardingalgorithm is not fully initialized. This 
problem is particularly obvious when you just try hashmodshardingalgorithm. The 
shardingcount attribute inside is a 0. It uses an int type. If you hit a 
breakpoint, you won't enter


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to