-->
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: Log4J required in 3.0rc1?
PostPosted: Mon Feb 28, 2005 4:17 pm 
Pro
Pro

Joined: Fri Nov 19, 2004 5:52 pm
Posts: 232
Location: Chicago, IL
I'm guessing that this is a bug. I just upgraded from 3.0beta4 to 3.0rc1 and now I'm receiving an error regarding the fact that I don't have Log4J installed. Until now, I've been happily been using JDK 1.4 logging (yes, I know Log4J is supposed to be better, but JDK 1.4 does what I need it to).

Hibernate version: hibernate-3.0rc1, hibernate-annotations-3.0alpha3

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Code:
java.lang.NoClassDefFoundError: org/apache/log4j/Logger
        at org.hibernate.tuple.PojoTuplizer.<clinit>(PojoTuplizer.java:42)
        at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:45)
        at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:208)
        at org.hibernate.persister.entity.BasicEntityPersister.<init>(BasicEntityPersister.java:398)
        at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:87)
        at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:58)
        at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:199)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
        at mypackage.SessionManager.<clinit>(SessionManager.java:43)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 4:38 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
That's a mistake, I'll fix it in CVS.
Sorry about that.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 4:41 pm 
Pro
Pro

Joined: Fri Nov 19, 2004 5:52 pm
Posts: 232
Location: Chicago, IL
No problem. Thanks for the quick fix.


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.