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

后端 未结 7 1697
梦毁少年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:14

    I have faced this once after implementing our own AsyncTaskExecutor and forgetting to remove default

    Check if you have something like this, if yes remove one of the task.

    
    
    
    

提交回复
热议问题