Take the 2-minute tour ×

how do I configure autowire in spring

share|improve this question
add comment

1 Answer

up vote 10 down vote accepted

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


share|improve this answer
@autowired alone was not enough - exactly what I was missing. thanks. –  flybywire Oct 5 '09 at 7:31
add comment

Your Answer


