Omission in hibernate_reference.pdf-3.1 rc3

Description

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

On pg. 9 just above the list of reqiured jars is the following paragraph:

"The first thing we do, is set up our development directory and put all the Java libraries we need into it. Download the Hibernate distribution from the Hibernate website. Extract the package and place all required libraries
found in /lib into into the /lib directory of your new development working directory. It should look like this:"
+lib
antlr.jar
cglib.jar
asm.jar
asm-attrs.jars
commons-collections.
commons-logging.
hibernate3.
jta.jar
dom4j.jar
log4j.jar

Console partial Dump
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

Environment

Mac OS X 10.4.x

Assignee

Diego Plentz

Reporter

Ralph Bosson

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure