One asyncannotationbeanpostprocessor may exist within the context.
Source: Internet
Author: User
I had this problem when I copied applicationContext.xml and created new one called applicationContextAdditional.xml. I did n‘t try to find the reason, but both contained namespace
This happens when spring parses the <task: annotation-driven /> text twice in a config XML.
For me this was happening because both applicationContext-root.xml and applicationContext-where-annotation-driven-is-specififed.xml were imported in my WEB.xml in <context-param> section.
Leaving only applicationContext-root.xml in WEB.xml solved the issue.
<task: annotation-driven /> appears twice.
Only one AsyncAnnotationBeanPostProcessor may exist within the context.
label:
Original address: http://blog.csdn.net/liyanlei5858/article/details/51361268
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.