can figure out where is my problem, as can be seen, I have located the hibernate.cfg.xml file almost anywhere possible and still I get this error.
I have also added it to the project classpath but with no luck.
could someone advise?
the error is received when: SessionFactory factory = SessionFactoryUtil.getInstance();
this is a basic desktop application downloaded from:
http://www.laliluna.de/articles/first-h ... orial.html - First Hibernate example - tutorial
the error I get:
72928 [main] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final
72976 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.6.3.Final
72992 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
73007 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
73039 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
73615 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
73616 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
org.hibernate.HibernateException: /hibernate.cfg.xml not found
Thanks
Elad