阅读背景:

使用唯一bean的spring自动布线:spring期望的是单个匹配bean,但是找到了2

来源:互联网 

I am trying to autowire some beans (for dependency injection) using Spring for a webapp. One controller bean contains another bean which in turn holds a hashmap of another set of beans. For now the map only has one entry. When i run in tomcat and call the service I get an error saying that the second bean (held in the controller) is not unique I am trying to autowire some beans (for depende




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: