2011.07.06.13.06.28 ERROR tapestry5.services.TapestryModule.RequestExceptionHandler - Processing of request failed with uncaught exception: antlr/ANTLRException java.lang.NoClassDefFoundError: antlr/ANTLRException at org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:35) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:74) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
Problem appears when hibernate 3.2.0.ga is not used with correct version of antlt 2.7.6 but with greater version 3.1.1 because of tapestry 5 dependencies. To fix it just provide correct version 2.7.6.
No comments:
Post a Comment