Hibernate5新的创建SessionFactory方式,使用Hibernate4的方式报异常XXX is not mapped

NoSuchKey