I had a similar problem. Maybe this thread helps you:

http://www.nabble.com/T-5.1-How-to-inject-Spring-beans-by-name--td22934788.html

2009/6/17 haipeng du <haipen...@gmail.com>

> I try to inject spring beans to page class with
> @Inject
> @Id("baseDAO")
> private BaseDAO baseDAO
>
> It still gave me that "Spring context contains 14 beans assignable to type
> xx.BaseDAO
>
> what should I do for this.
>
> --
> Haipeng Du
> Salt Lake City
>

Reply via email to