Only one JmsListenerAnnotationBeanPostProcessor may exist within the context错误解决
使用activemq消息队列,然后想通过注解的方式来配置监听器,
添加了以下代码:
运行以后报错:
Only one JmsListenerAnnotationBeanPostProcessor may exist within the context以下方法尝试解决:
1、取消监听器注解支持配置
原创
2017-12-01 23:48:22 ·
2136 阅读 ·
0 评论