-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When @Configuration class implements SchedulingConfigurer #115
Comments
Hi, can you please try newest version 2.2.0 with annotation based config (as described in readme)? It should work better than ScheduledLockConfiguration. Please, let me know if it helps. |
I actually had that annotation on there already but I also had the ScheduledLockConfiguration bean definition. This still fails:
|
You are right, it's indeed a bug. I will take a look at it in next few days. Thanks for reporting. |
Actually, there is an easy workaround, return type of |
That was indeed an oversight on my side. Not even a workaround ;-) That's the proper way to do it! Thank you. |
Hi, I'm sorry to interrupt to use this closed issue. I think I found some related issue on Stackoverflow which we do run into as well. It might be due to the usage of the Could you please shed some light on this? |
@lukas-krecan Thanks for you help! 👍 |
I cannot implement this functional interface with ShedLock. It throws an error complaining about trying to inject a proxy.
My setup:
The text was updated successfully, but these errors were encountered: