-->
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.  [ 3 posts ] 
Author Message
 Post subject: demo fails on hibernate-2.0.3
PostPosted: Sat Nov 08, 2003 8:14 pm 
Newbie

Joined: Sat Nov 08, 2003 7:57 pm
Posts: 2
Location: Georgia
I just downloaded 2.0.3
I did tar -zxvf
Idid ant; it made happy noises
I did chmod +x demo.sh
It made unhappy noises (see below)

Suggestions?

Les

[root@frodo2 hibernate-2.0.3]# ./demo.sh
Nov 8, 2003 6:26:54 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: Hibernate 2.0.3
Nov 8, 2003 6:26:54 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=org.hsqldb.jdbcDriver, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.HSQLDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.query.imports=net.sf.hibernate.test, net.sf.hibernate.eg, hibernate.proxool.pool_alias=pool1, hibernate.connection.username=sa, hibernate.connection.url=jdbc:hsqldb:test, hibernate.show_sql=false, hibernate.connection.password=, hibernate.statement_cache.size=25, hibernate.connection.pool_size=1}
Nov 8, 2003 6:26:54 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: using java.io streams to persist binary types
Nov 8, 2003 6:26:54 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
Nov 8, 2003 6:26:54 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: JVM proxy support: true
Nov 8, 2003 6:26:54 PM net.sf.hibernate.cfg.Configuration addClass
INFO: Mapping resource: net/sf/hibernate/eg/Vertex.hbm.xml
Nov 8, 2003 6:26:55 PM net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: net.sf.hibernate.eg.Vertex -> vertex
Nov 8, 2003 6:26:56 PM net.sf.hibernate.cfg.Binder bindSubclass
INFO: Mapping subclass: net.sf.hibernate.eg.Source -> vertex
Nov 8, 2003 6:26:56 PM net.sf.hibernate.cfg.Configuration addClass
INFO: Mapping resource: net/sf/hibernate/eg/Edge.hbm.xml
Nov 8, 2003 6:26:56 PM net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: net.sf.hibernate.eg.Edge -> edge
Nov 8, 2003 6:26:56 PM net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-many association mappings
Nov 8, 2003 6:26:56 PM net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: net.sf.hibernate.eg.Vertex.incoming -> edge
Nov 8, 2003 6:26:56 PM net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: net.sf.hibernate.eg.Vertex.outgoing -> edge
Nov 8, 2003 6:26:56 PM net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:297)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:627)
at net.sf.hibernate.eg.NetworkDemo.main(NetworkDemo.java:37)
[root@frodo2 hibernate-2.0.3]#


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 08, 2003 8:17 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
This is fixed in CVS, the name of cglib.jar is wrong in CLASSPATH.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 08, 2003 9:29 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
A quick advice: if you are at the level of playing with the demo, you would be much better off downloading 2.1 latest beta and playing with the brand new demo in that release. 2.1 will go final well before you have any Hibernate app in production ;-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.