Configuration problem: Only one AsyncAnnotationBeanPostProcessor may exist within the context.

去配置文件中找 , 某个配置文件被引用了两次以上.移除后保留一个即可.如下即可产生上述问题

 

     <import resource="classpath:testContext-currentproduct.xml" />
     <import resource="classpath:testContext-currentproduct.xml" />
     <import resource="classpath:testContext-elitecurrentproduct.xml" />

 

posted on 2016-01-13 11:31  饕盡天下  阅读(10088)  评论(0编辑  收藏  举报