Grzegorz Sikora wrote:
Hello ,

I succesfuly used Hibernate 2.1.8 under Cocoon 2.16 followed by Wiki
tutorial[1] sugestions.

When I've switched to 2.17dev (current Head rev) I've got strange error when
HibernateFactory is initialising (...and it causes failing Cocoon to load :)

root cause

java.lang.NoClassDefFoundError
        
net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)

805: return new SessionFactoryImpl(this, settings);

(this class is in hibernate2.jar so why no def found ?)

No idea whats happening 'cause I'm using the same code and config like
in 2.16. I've copied the same required libs to Cocoon lib dir (
h2.jar,  dom4j-1.4.jar, cglib-full-2.0.2.jar, jta.jar)

Anyone used Hibernate 2.1 under Cocoon 2.17 ?
I am using cocoon under 2.1.x branch and trunk - no problem at all.

by the way: don't you need the odmg jar also ?

--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to