[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1221?page=c...
]
Diego Pires Plentz reassigned HHH-1221:
---------------------------------------
Assignee: Diego Pires Plentz
Omission in hibernate_reference.pdf-3.1 rc3
-------------------------------------------
Key: HHH-1221
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1221
Project: Hibernate3
Issue Type: Bug
Components: documentation
Affects Versions: 3.1 rc3
Environment: Mac OS X 10.4.x
Reporter: Ralph Bosson
Assignee: Diego Pires Plentz
Priority: Minor
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira