Only one AsyncAnnotationBeanPostProcessor may exist within the context.
来源:互联网 发布:中国网络电影演员 编辑:程序博客网 时间:2024/05/22 04:34
Only one AsyncAnnotationBeanPostProcessor may exist within the context.只允许一个spring-task存在上下文中,
Failed to import bean definitions from URL location [classpath*:/config/spring-task.xml],导入spring-task文件失败
原因1:spring_task多次导入到当前项目中,删除下面重复导入的xml文件
<import resource="classpath:spring-task.xml" /> <import resource="classpath:spring-task.xml" /> <import resource="classpath:testContext-elitecurrentproduct.xml" />
原因2:idea中存在项目循环依赖,因为你依赖的项目已经导入了spring-task.xml文件
解决方案:analyze--->analyze module dependecies 查看模具依赖,删除循环的依赖,不知道哪些是循环依赖就打开原来备份的项目,对照着查看那些是循环的,所以程序员备份项目是个好习惯,或者重新从svn中down下来查看
阅读全文
0 0
- Only one AsyncAnnotationBeanPostProcessor may exist within the context.
- Configuration problem: Only one AsyncAnnotationBeanPostProcessor may exist within the context.
- 报错 Only one AsyncAnnotationBeanPostProcessor may exist within the context.
- Only one AsyncAnnotationBeanPostProcessor may exist within the context. 问题解决分享
- Only one AsyncAnnotationBeanPostProcessor may exist within the context.
- Only one JmsListenerAnnotationBeanPostProcessor may exist within the context错误解决
- More than one TaskScheduler and/or ScheduledExecutorService exist within the context
- JPA Multiple writable mappings exist for the field [{0}]. Only one may be defined as writable, all o
- JPA Multiple writable mappings exist for the field [{0}]. Only one may be defined as writable, all o
- a predicate may reference only one outer-joined table
- Only one Looper may be created per thread
- Only one Looper may be created per thread
- Only one SparkContext may be running in this JVM
- you may confusing about the context
- RUP within the context of the Six Best Practices
- The "Run One Program Only" Phenomenon
- The name 'Profile' does not exist in the current context
- The name does not exist in the current context
- JAVA循环结构(2)
- 文章标题
- mysqldump完全备份shell脚本
- 知识回顾(一):Java八大基础类型、四大引用类型
- application
- Only one AsyncAnnotationBeanPostProcessor may exist within the context.
- 音频基础
- JAVA多线程实现的三种方式
- OpenCV-Python learning---0
- 交互设计师必备的9种能力
- 9.配置服务器实现高可用(cofig+eureka)
- Spring 之注解事务 @Transactional
- BZOJ1911: [Apio2010]特别行动队
- 网页调用QQ聊天