When I access a bean from spring bean configuration file using BeanFactory like this:
public class Person { private String id,address; @Autowired pri
Approach 1: Include below code in your xml
Approach 2: Remove @Autowired and inject customer in your xml file only.
@Autowired