Autowired object gets a null value in one class, while successfully wired in another?

Since the second bean is not in the specified bean annotation package component scan as specified in project-servlet.xml.

Since the second bean is not in the specified bean annotation package component scan as specified in project-servlet. Xml: it does not consider it to be a service and does not translate the annotations. You need to extend it further or move it to a package starting with com.

Project or else like this.

I am sorry, I had mistyped. ProjectUserDetailsService. Java is actually in com.

Project package. So this is not the problem. An a bean with name userDetailsService(of ProjectUserDetailsService) is created but its dependancy is not autowired.

I corrected the question. – Ugur Adiguzel May 7 at 21:38.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions