Joined: Thu Dec 30, 2004 11:02 am Posts: 2 Location: India
|
Hi All ,
A very happy new years eve - eve to everyone
I am trying to use Hibernate 2 with Weblogic 8.13 and am facing a strange problem, I have kept my hibernate2.jar and the hibernate.cfg.xml in the <project>/APP-INF/lib folder and when I try to build a session factory using the following line
SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
I get a
net.sf.hibernate.HibernateException: /hibernate.cfg.xml not found at net.sf.hibernate.cfg.Configuration.getConfigurationInputStream(Config uration.java:849) at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:873) at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:860)
Any thoughts would be really helpful.
_________________ Thanks,
Amol
|
|