-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Omission in hibernate_reference.pdf-3.1 rc3
PostPosted: Sun Dec 04, 2005 12:24 pm 
Newbie

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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 12:32 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
how is that an ommission ?

the doc states:
lib/<Hibernate and third-party libraries>

all dependencies are listed in lib/readme.txt

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: +Omission
PostPosted: Sun Dec 04, 2005 12:36 pm 
Newbie

Joined: Fri Sep 23, 2005 11:12 am
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 12:43 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
ah sorry I didn't see the full list. add it as a bug report to jira.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.