出现异常的原因是:hibernate中的HQL语句书写有错误(我就是产生这样的错误,把from写成了form) 转载于:https://www.cnblogs.com/dandre/p/4507074.html