Spring注入(dao)或者(service)对象为null
1.spring配置有没有扫描包
2.dao和service加注解没
3.web.xml配置监器
4.注入对象忘记加@Autowired
自己总结了这么几点!
Spring注入(dao)或者(service)对象为null
猜你喜欢
转载自blog.csdn.net/Lee_XCSDN/article/details/104719459
今日推荐
周排行