您的位置:首页 > 其它

ERROR org.hibernate.hql.internal.ast.ErrorCounter unexpected token: form解决方法

2015-12-29 15:43 399 查看
执行hql语句的时候报出了下面的错误:

<span style="font-size:18px;">15:16:14.500 [http-nio-8080-exec-9] ERROR org.hibernate.hql.internal.ast.ErrorCounter - line 1:1: unexpected token: form
15:16:14.501 [http-nio-8080-exec-9] ERROR org.hibernate.hql.internal.ast.ErrorCounter - line 1:1: unexpected token: form
antlr.NoViableAltException: unexpected token: form</span>
<span style="font-size:18px;">
</span>
这是因为hql语句中出现了不能识别的字符串或符号,修改过来就可以了。例如这条错误中from写成了form。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  hibernate hql 错误解决