getHibernateTemplate 获取值为NULL
如果你的DAO继承HibernateDaoSupport后,在应用跑起来时候,拿到的HibernateTemplate为null,
那就说明你的DAO绝对不是IOC注入进去的,而是其他方式获得。
?