Problem: Many a times we get a problem in hibernate saying /hibernate.cfg.xml not found
Solution: As per Java Persistence with Hibernate book , you should keep the hibernate configuration file directly in the source directory of your project outside any package. In Rational Application Developer, I have solved this problem by placing it directly under src folder.

Thanks..this response helped me a lot..
That helped… Thanks
it works for me.. thanks..
Thanks!!!!!!
Its really works
Thaaaannnnnkkkkksss!!!!
SOLVED!!!!
Thanks Man….This was a great Help!!!!
Great tip!!!
Thanks.
Another solution is to change the SessionFactory creation in HibernateUtil.java
pathToHibernateCfg = “hibernate/resources/hibernate.cfg.xml”;
return new Configuration().configure(pathToHibernateCfg).buildSessionFactory();
it’s really working
While I truly like this post, I think there was an spelling error near towards the finish of the third paragraph.
Thanks for pointing out. Is it alright now?
woooooooowwwww…it worked thx
Where exactly did you actually pick up the tips to compose ““/hibernate.
cfg.xml not found Techspace”? I appreciate it ,Cassandra
Hello, I do believe your blog could possibly be having internet
browser compatibility problems. Whenever I look at your blog in Safari, it looks fine
but when opening in Internet Explorer, it has some overlapping issues.
I merely wanted to give you a quick heads
up! Aside from that, great site!