I´m trying to change the way of bean injection in my system, from xml to annotations. Searching about it (even here in the forum), I was able to run my application without errors (I mean, stacktraces). The thing is, when I try to inject the bean, looks like the Spring Container. When I run some tests, I see that the object to be injected(a controller) is 'null'. I´ve tried so many things, with no success, so it seems something is missing. Below are my code and configurations. Oh, and right now I´m just trying to change a feature of the app, if it works, I´ll apply the changes to the rest of the app.
Now my configurations(applicationContext.xml is divided in 2 parts, controladorContext.xml and daoContext.xml):
That´s it, I have no idea why that doesnt work. =/ Any help is much appreciated! =]
Thanks in advance!