somiljain2006 commented on issue #7257:
URL: 
https://github.com/apache/incubator-seata/issues/7257#issuecomment-4584555356

   After investigating the logs, the warning appears to originate from the 
application's custom SeataConfig rather than Seata's auto-configuration. The 
log indicates that globalTransactionScanner is being created from a non-static 
@Bean method on SeataConfig. Since GlobalTransactionScanner is a 
BeanPostProcessor, this causes early initialization of the enclosing 
configuration class and can trigger the reported warning. Seata's built-in 
auto-configuration already declares these bean factory methods as static. Could 
you verify whether your project defines a custom GlobalTransactionScanner bean? 
If so, changing the @Bean method to static may resolve the issue.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to