I received this error while wiring up a method with the @Scheduled annotation on it. The method was a concrete implementation of an interface so at runtime it was a proxy. Apparently, the @Scheduled annotation has a hard time being on a proxy, but the workaround seems to be to put the annotation on the interface and the concrete impl.
Here is a bug logged here.
And more information on @Scheduled.
No comments:
Post a Comment