代碼報錯,請老師解惑
運行testCons()單元測試報錯:Error creating bean with name 'injectionService' defined in class path resource [spring-injection.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.imooc.ioc.injection.dao.InjectionDAO]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
2015-03-02
應該是你的Spring配置信息有問題