Spring's @Scheduled error : Only one AsyncAnnotationBeanPostProcessor may exist within the context

后端 未结 7 1597
梦毁少年i
梦毁少年i 2020-12-06 04:50

I am trying Spring 3\'s @Scheduled annotation . Here is my configuration (app.xml) :




        
相关标签:
7条回答
  • 2020-12-06 05:18

    I had the <task:annotation-driven/> defined twice in the context xml. Removing that worked for me.

    0 讨论(0)
提交回复
热议问题