Re: [appfuse-user] Spring 2.5 Autowire no unique bean error

2008-04-05 Thread mschipperheyn
Awesome. Thanks!!! Marc mraible wrote: > > Adding @Qualifier("countryManager") should solve this issue. > > If you have JSR-250's JAR in your classpath (or are using JDK 6), you > can also use @Resource(name="countryManager") instead of the more > verbose @Autowired @Qualifier("countryManager"

Re: [appfuse-user] Spring 2.5 Autowire no unique bean error

2008-04-04 Thread Matt Raible
Adding @Qualifier("countryManager") should solve this issue. If you have JSR-250's JAR in your classpath (or are using JDK 6), you can also use @Resource(name="countryManager") instead of the more verbose @Autowired @Qualifier("countryManager"). Matt On Fri, Apr 4, 2008 at 2:15 AM, mschipperheyn

[appfuse-user] Spring 2.5 Autowire no unique bean error

2008-04-04 Thread mschipperheyn
Hi all, Has anyone tried to use Spring 2.5 yet? You get this error when you try to use the annotated controller with autowiring. 2008-04-03 17:06:20.818::WARN: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadCategoryController': Autowiring