ERROR org.hibernate.hql.internal.ast.ErrorCounter unexpected token: form解决方法
来源:互联网 发布:erp系统设计软件 编辑:程序博客网 时间:2024/06/11 08:38
执行hql语句的时候报出了下面的错误:
15:16:14.500 [http-nio-8080-exec-9] ERROR org.hibernate.hql.internal.ast.ErrorCounter - line 1:1: unexpected token: form15:16:14.501 [http-nio-8080-exec-9] ERROR org.hibernate.hql.internal.ast.ErrorCounter - line 1:1: unexpected token: formantlr.NoViableAltException: unexpected token: form
这是因为hql语句中出现了不能识别的字符串或符号,修改过来就可以了。例如这条错误中from写成了form。
阅读全文
0 0
- ERROR org.hibernate.hql.internal.ast.ErrorCounter unexpected token: form解决方法
- ERROR org.hibernate.hql.internal.ast.ErrorCounter unexpected token: form解决方法
- ERROR org.hibernate.hql.internal.ast.ErrorCounter (ErrorCounter.java:73) :unexpected token: tar错误解决
- org.hibernate.hql.internal.ast.ErrorCounter reportError
- org.hibernate.hql.internal.ast.ErrorCounter reportError
- Exception in thread "main" org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token:
- org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: * near line 1, column 8
- org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: u near line 1, column 55 [fro
- org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: b near line 1, column 49...
- org.hibernate.hql.ast.QuerySyntaxException: unexpected token: on near line 3解决方法
- org.hibernate.hql.ast.QuerySyntaxException: unexpected token 的解决
- org.hibernate.hql.ast.QuerySyntaxException: unexpected token: where near line
- org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected end of subtree []
- HQL子查询报错:org.hibernate.hql.ast.QuerySyntaxException: unexpected token...
- org.hibernate.hql.internal.ast.Q…
- org.hibernate.hql.internal.ast.QuerySyntaxException
- 相当相当隐蔽的错误 org.hibernate.hql.ast.QuerySyntaxException: unexpected token
- org.hibernate.hql.ast.QuerySyntaxException: unexpected token: on near line 1解决方案
- 4.app目录结构
- web基于后台管理模版实现高扩展的侧边栏
- codeforces 812C——Sagheer and Nubian Market(二分)
- 什么是虚拟DOM?
- 设计模式- 装饰模式
- ERROR org.hibernate.hql.internal.ast.ErrorCounter unexpected token: form解决方法
- MyBatis 笔记
- Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in
- 从inotify机制谈FileObserver实现原理
- 跨域请求
- MTk app 内置
- nginx大量TIME_WAIT的解决办法--转
- Android 点击View实现前后翻转动画
- Mysql中常见日期查询