I had this problem when I copied applicationContext.xml
and
created new one called applicationContextAdditional.xml
.
I didn‘t try to find the reason, but both contained namespace
<bean ...
xmlns:task="http://www.springframework.org/schema/task"
...
xsi:schemaLocation="
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd" >
...
</bean>
when I removed the namespace from the second one my problem was solved. Maybe it helps someone.
红色命名空间出现2次。