I can't see why this shouldln't be possible but I am always getting a null reference.
Anyway.
One Service configured with the @Service annotation and all other annotated beans successfully get a reference using the @Autowired annotation.
We also have some older beans configured in XML (currently moving to annotations but doing a few at a time) and this bean needs to reference the first service bean above.
So, is this possible? I really can't see why it shouldn't, but no matter what I do the reference to the first bean in the second is always null.
If it is possible, I will continue banging my head to find whats wrong. But thought I'd ask just in case.
Cheers


Reply With Quote