How can implement one-time task with data in Springboot Application? #377
Unanswered
tianshuainan
asked this question in
Q&A
Replies: 4 comments 2 replies
-
@kagkarlsson Kindly help on this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not clear why you have a problem with circular-dependency. That is usually when one wants to use a |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think maybe either split the RatingService or try to instantiate a standalone client |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I refer to given example to implement one-time task https://github.com/kagkarlsson/db-scheduler#spring-boot-usage,but still occur some errors.
Prerequisites
I am using SpringBoot application, and imported dependency
I refer to this link for implementationI https://github.com/kagkarlsson/db-scheduler#spring-boot-usage ,and I want to implement a one-time task with data
I want start one-time task in this method:
Current Behavior
Error shows :There is circular references between myService and com.github.kagkarlsson.scheduler.boot.autoconfigure.DbSchedulerAutoConfiguration, that is why and How can I fix it?Can you provide example for my demand? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions