spring配置多数据源出现如下错误

配置多数据源时出现这个错误
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean name 'txadvice' in bean reference for bean property 'adviceBeanName'
有点不太明白了,求解
错误代码如下:
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean name 'txadvice' in bean reference for bean property 'adviceBeanName'
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)

查看全部
l578854269
众生皆寂
2016/06/16 07:27
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

3个回复