You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.1
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
The text was updated successfully, but these errors were encountered:
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.1
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
The text was updated successfully, but these errors were encountered: