S
sickness
Hello
It's my first time with Hibernate. I'm using Eclipse with hibernate
tool and Tomcat 5.5.
When I try to build the session Factory I obtain this error:
Initial SessionFactory creation
failed.org.hibernate.HibernateException: /hibernate.cfg.xml not found
Hibernate Tools works well, all the xml file are right configured.
hibernate can't find the hibernate.cfg.xml.
I've put this under the folder 'hibernate_xml' , .. with the others xml
for mapping.
In the Java Build Path I try to add this folder (it's right?) but I've
not resolved my problem
I try to change also the instruction like this
sessionFactory = new
Configuration().configure("hibernate_xml/hibernate.cfg.xml").buildSessionFactory();
so I don't know why my application can't find this xml
(on the Hibernate_test\build\classes there're all the xml!)
here is a screenshot of my webapp
http://i3.tinypic.com/wgzrec.gif
thx for your response
bye
sickness
It's my first time with Hibernate. I'm using Eclipse with hibernate
tool and Tomcat 5.5.
When I try to build the session Factory I obtain this error:
Initial SessionFactory creation
failed.org.hibernate.HibernateException: /hibernate.cfg.xml not found
Hibernate Tools works well, all the xml file are right configured.
hibernate can't find the hibernate.cfg.xml.
I've put this under the folder 'hibernate_xml' , .. with the others xml
for mapping.
In the Java Build Path I try to add this folder (it's right?) but I've
not resolved my problem
I try to change also the instruction like this
sessionFactory = new
Configuration().configure("hibernate_xml/hibernate.cfg.xml").buildSessionFactory();
so I don't know why my application can't find this xml
(on the Hibernate_test\build\classes there're all the xml!)
here is a screenshot of my webapp
http://i3.tinypic.com/wgzrec.gif
thx for your response
bye
sickness