Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via liferay.com by Unknown author, 2 years ago
org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token
via liferay.com by Unknown author, 1 year ago
org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token
via SpringSource Issue Tracker by Andrei Stefan (c), 2 years ago
org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token
via hivmr.com by Unknown author, 2 years ago
via Oracle Community by 964956, 2 years ago
org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token
via hivmr.com by Unknown author, 2 years ago
java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token	at antlr.CharScanner.makeToken(CharScanner.java:173)	at org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:62)	at org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:599)	at org.hibernate.hql.antlr.HqlBaseLexer.nextToken(HqlBaseLexer.java:270)	at antlr.TokenBuffer.fill(TokenBuffer.java:69)	at antlr.TokenBuffer.LA(TokenBuffer.java:80)	at antlr.LLkParser.LA(LLkParser.java:52)	at org.hibernate.hql.antlr.HqlBaseParser.statement(HqlBaseParser.java:141)	at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:274)	at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:182)	at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136)	at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:101)	at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:80)	at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:98)	at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)	at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)	at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1760)