It looks to me like the last post by Amol explains what you are doing wrong. If you are using setter injection without auto-wiring, you must include the <property> sub-element in your bean definition.