I've spring beans config with just
and TestSpringServiceImpl is as follows
and the
test class with main as below:
In the above class if I've autowired annotation on the "filed" without SET method, the autowiring is not working.
But I've read the documentation, setting @Autowired on the filed shoudl work fine.
Can you please tell me if there is anything being done incorrectly?
Thanks