使用hibernate模板查询报空指针异常
List<Admin> list=this.getHibernateTemplate().find(hql);
这行报错配置如下
http://blog.csdn.net/gladiator_wyj/article/details/54915403
空指针跟你的配置并没有关系啊,检查一下你的hql是否没有值