2019-12-19 13:26:17.594 WARN  [main] o.s.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 558 - [TxId :  , SpanId : ] 
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.support.BeanDefinitionOverrideException: 
Invalid bean definition with name 'org.springframework.transaction.config.internalTransactionalEventListenerFactory' defined in null: 
Cannot register bean definition 
[Root bean: class [org.springframework.transaction.event.TransactionalEventListenerFactory]; 
scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 
for bean 'org.springframework.transaction.config.internalTransactionalEventListenerFactory': 
There is already [Root bean: class [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration]; scope=; abstract=false; lazyInit=null; autowireMode=3; dependencyCheck=0; 
autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=transactionalEventListenerFactory; initMethodName=null; destroyMethodName=(inferred); 
defined in class path resource [org/springframework/transaction/annotation/ProxyTransactionManagementConfiguration.class]] bound.
2019-12-19 13:26:17.606 INFO  [main] o.s.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener 136 - [TxId :  , SpanId : ] 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-12-19 13:26:17.609 ERROR [main] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 40 - [TxId : , SpanId : ] ***************************
APPLICATION FAILED TO START
*************************** Description: The bean 'org.springframework.transaction.config.internalTransactionalEventListenerFactory' could not be registered.
A bean with that name has already been defined in class path resource [org/springframework/transaction/annotation/ProxyTransactionManagementConfiguration.class] and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

Process finished with exit code 1

最新文章

  1. [译]:Xamarin.Android开发入门——Hello,Android Multiscreen深入理解
  2. Mac Mysql mysql_secure_installation Error: Access denied for user 'root'@'localhost' (using password: YES)
  3. wordpress 开发日志及技巧收集
  4. 如何查看windows操作系统当前使用的字符集
  5. Spring MVC 3.0.5+Spring 3.0.5+MyBatis3.0.4全注解实例详解(一)
  6. [转载]SQL Server查找包含某关键字的存储过程3种方法
  7. 从源码解析TreeMap
  8. 使用echarts,制作色温图
  9. 几道数位DP
  10. Java Web项目(Extjs)报错三
  11. LeetCode 2
  12. docker-elk装IK自定义分词库
  13. daemon函数详解
  14. [LeetCode&Python] Problem 888. Fair Candy Swap
  15. Mysql设置允许外网访问(图文)
  16. 【MyBean调试笔记】关于单元的释放顺序
  17. svn 批量添加命令
  18. [golang note] 工程组织
  19. JAVASE02-Unit011: TCP通信(小程序)
  20. 机器学习算法实现解析——libFM之libFM的训练过程概述

热门文章

  1. ES-结构化查询
  2. Ted:1 Vulnhub Walkthrough
  3. C lang:Pointer and Array
  4. Linux常用命令及详细说明 — 结合工作(侧重性能监控,包括CPU、内存、IO、网络、磁盘等)
  5. Python内置装饰器@property
  6. 数据库事务系列-MySQL跨行事务模型
  7. 运维工程师必会工具(Nmap和TCPdump)
  8. QT Creator: The process could not be started!
  9. java之对象类型转换
  10. swoole视频直播