Current location - Loan Platform Complete Network - Big data management - Injecting with spring annotations; dao and service are null, what is the reason?
Injecting with spring annotations; dao and service are null, what is the reason?
1. To make spring managed beans, such as dao and service, annotated accordingly

2. Configure the packages to be scanned in applicationContext.xml

3. For specific dependencies, use Autowired auto-injection

.