4down vote |
I had this problem when I copied
when I removed the namespace from the second one my problem was solved. Maybe it helps someone. 红色命名空间出现2次。
|
I have faced this once after implementing our own AsyncTaskExecutor andforgetting to remove default <task:
annotation-driven/>
Check if you have something like this, if yes remove one of the task.
<task:annotation-driven executor="customAsyncTaskExecutor" scheduler="taskScheduler"/>
<task:annotation-driven/>
<task:annotation-driven>出现两次。 |
2down vote |
This happens when spring parses the For me this was happening because both Leaving only |
<task:annotation-driven/>出现两次。