这里写自定义目录标题
SpringBoot异常简述
在处理一个由SpringMVC的项目迁移到SpringBoot的项目过程中,接口调用的时候发生了以下异常:
org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.transaction.PlatformTransactionManager' available: expected single matching bean but found 6: bossTransactionManager,ezhuTransactionManager,kingdeeTransactionManager,oldPmsTransactionManager,pmsTransactionManager,wmsTransactionManager
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1041)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)
at org.springframework.transaction.interceptor.TransactionAspectSupport.determineTransactionManager(TransactionAspectSupp