I'm a greenhorn in Spring, and reading the book of Spring in Action 2nd Edition now. I got following problem when following the examples in the book and attempting to mix injecting non-Spring beans with normal Spring AOP features. Related chapters in the book are 3.3 and 4.3.
Source codes & configurations are (some simple classes are omitted):
1. I defined Magician class as following. Please note in order o make injecting non-Spring beans work, the annotation is added:
This post is quite old and I doubt the original poster is following it anymore. Are you still using Spring 2.5 or are you using a more current version? Please post a more detailed description of your problem (what you are trying to do and what it happening) and we can try to help you with it.