You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/01/15 17:59:47 UTC
[GitHub] [shardingsphere-elasticjob] Summary-wcj opened a new issue #2044: I think ElasticJobBootstrapConfiguration implements SmartInitializingSingleton have a bug
Summary-wcj opened a new issue #2044:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2044
I think ElasticJobBootstrapConfiguration implements SmartInitializingSingleton have a bug.
I use ElasticJob Lite
I don't know how to describe this error, but you can repeat this problem. I use the starter and email dependency of version 3.0.0, then use the job in OneOffJobBootstrap, and then start the program. It will appear that the bean of this task cannot be obtained during injection.
1.version:
3.0.0
ElasticJob Lite
2.Expected
start success
3.Actual
start fail
4.Reason analyze
I think implements SmartInitializingSingleton after @RestController is loaded and The bean was not taken over by spring when it was used.
5.Steps to reproduce the behavior
a.Configure one-time scheduled tasks in the YML file
b.Write a controller
c.Write a task implements simplejob and add @Component annotation on the class
6.Example codes for reproduce this issue
https://github.com/Summary-wcj/elastic-job.git
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] cocodroid commented on issue #2044: I think ElasticJobBootstrapConfiguration implements SmartInitializingSingleton have a bug
Posted by GitBox <gi...@apache.org>.
cocodroid commented on issue #2044:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2044#issuecomment-1013868140
#2014
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] Summary-wcj commented on issue #2044: I think ElasticJobBootstrapConfiguration implements SmartInitializingSingleton have a bug
Posted by GitBox <gi...@apache.org>.
Summary-wcj commented on issue #2044:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2044#issuecomment-1014674230
thanks very much
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org