如下@Repository(value = "bardao")//value的作用在于给该Bean(BarDao)命名value的作用在于给该Bean( 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交