org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not a 如果出现了这个错误,看看在使用Hibernate的时候有没有在事务的环境下执行操作!