原因: 原因是weblogic要查找自己的antlr,和lib下面的antlr包冲突.... 解决方法: 在weblogic.xml添加 lt container descriptor gt lt prefer web inf classes gt true lt prefer web inf classes gt lt container descriptor gt prefer web inf ...
2013-07-04 09:11 0 3540 推荐指数:
转自:http://www.programgo.com/article/68682994452/ 在做查询的时候,报出 org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken ...
环境: weblogic 10 hibernate 3 错误原因: 在hibernate3中需要用到antlr,然而这个包在weblogic.jar中已经包含了antrl类库,就会产生一些类加载的错误,无法找到在war或者ear中的hibernate3.jar 解决方法 ...
正确写法: 1、出现“org.hibernate.QueryException: could not resolve property”错误的解决: 起初,hql语句是这样写的,报错:could not resolve property:osId 考虑 ...
org.hibernate.QueryException: JPA-style positional param was not an integral ordinal; nested exception is java.lang.IllegalArgumentException ...
今天在写hql语句的时候出现了这个错误,然后一直运行到执行hql这儿就出错了。页面报500. 原hql如下: String hql = "from SecWilldosetdate where name = 'secEduplan'"; 问题如下: 折腾了好一会 ...
select d.content,count(s.status) from MesmachineStatus s , Mesmachinestatusdetail d where s.statu ...
检查下hql的对象名是不是实体的名,有没有写成数据库的表名。 ***hql的对象名要和实体对象名,相互对应 ...