This content has been marked as final.
Show 1 reply
-
1. Re: Error trying to get application to compile
imion2k5 Feb 15, 2011 3:23 AM (in response to nraf)java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token
in line 419 indicates that you are bundling a version of hibernate with your application and JBoss AS loaded the hibernate jars in two different classloaders (see this post).
I resolved a similar error by removing the bundled jar in my application. You don't need it anyway since jboss provides hibernate for you.
Regards!