I think that the problem is that in Spring 4, they use @Repeatable
annotation, which has only been introduced in Java 8.
Therefore, if you're not using Java 8 you'll continue to see this problem, at least until this issue will be fixed.
BTW, this is also preventing the usage of @Scheduled
annotation in older JDKs than Java 8. I hope it will be fixed soon.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…