I have got an issue with @Autowired not working from a tutorial I found here: http://viralpatel.net/blogs/spring3-mvc-hibernate-maven-tutorial-eclipse-example/. I have used Autowired before in another application, but for some reason, I cannot figure out why the heck it is not working in this application. If I'm using component-scan, do I still need to create the bean? I did add the beans, but it still did not work. Here is what I have, can you see something I am not (see below)?
Hello Ashwini. I initially did not have those beans declared, but it didn't work. So, I added the beans and still it doesn't work. I did follow the tutorial and went through it several times trying to figure out why I keep getting the same ContactService error...no matter what I do. I spent two days trying to figure it out, so I'm out of ideas.