I have a dependent class B of class A that I want injected into A.
And so I use the @Autowired annotation in class A. But class A itself I create using new keyword and I find that the reference to class B is null.
So if you are using Autowired, must Spring manage class A also?
I mean, is the null reference because I am using new and not letting Spring manage the whole thing?