Joined: Fri Sep 23, 2005 11:12 am Posts: 2
|
Page 9, the lib directory must also contain antlr-2.7.5H3.jar or a classNotFound error will occur when running -Daction=list from pg.18
run:
[java] Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
[java] at $Proxy0.createQuery(Unknown Source)
[java] at events.EventManager.listEvents(Unknown Source)
[java] at events.EventManager.main(Unknown Source)
[java] Caused by: java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:274)
[java] ... 3 more
[java] Caused by: java.lang.NoClassDefFoundError: antlr/ANTLRException
[java] at org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:31)
[java] at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:69)
[java] at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:52)
[java] at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)
[java] at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:108)
[java] at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:88)
[java] ... 8 more
[java] Java Result: 1
|
|