jueves, 23 de agosto de 2007

Hibernate Exception (library)

Al correr fuera de eclipse, parece haber incompatibilidad de jars, la clase perdida se encuentra en un jar dentro del classpath....

Exception in thread "main" java.lang.NoClassDefFoundError: antlr/ANTLRException
at org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator
(ASTQueryTranslatorFactory.java:35)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:74)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCa
che.java:72)

Existe algun problema de versiones con antlr, corregido con otra version del jar.

No hay comentarios: