Spring injection (dao) or (service) object is null
configuration has no scanning package 1.Spring
2.dao and service annotated did
3.web.xml configure the monitor device
4. The injection forget to add objects @Autowired
himself summed up so few points !
Spring injection (DAO) or (-Service) object is null
Guess you like
Origin blog.csdn.net/Lee_XCSDN/article/details/104719459
Ranking