views:

207

answers:

1

how do I configure autowire in spring

+5  A: 

Add the context schema to your configuration XML and use the @Autowired annotation:

http://static.springsource.org/spring/docs/2.5.x/reference/beans.html#beans-annotation-config

duffymo
@autowired alone was not enough - exactly what I was missing. thanks.
flybywire