HibernateException « cfg « JPA Q&A





1. org.hibernate.HibernateException: /hibernate.cfg.xml not fou    forum.hibernate.org

I just updated my eclipse rcp project to use hibernate 3.6.7 and ran the application an the following exception was thrown: org.hibernate.HibernateException: /hibernate.cfg.xml not found at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:170) at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:2146) at org.hibernate.cfg.Configuration.configure(Configuration.java:2127) at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:211) at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:70) The application has been running for the last six months with Hibernate 3.6.1 just fine. Before updating to Hibernate 3.6.7 I removed the old version (3.6.1) ...

2. org.hibernate.HibernateException: /hibernate.cfg.xml not fou    forum.hibernate.org

hi every body, can you any one help me out i am new to hibernate. i have executed one small hibernate example successfully in eclipse. actually we are useing JDeveloper IDE. when i am trying in Jdevelopre i am getting this following error. org.hibernate.HibernateException: /hibernate.cfg.xml not found at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147) at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1234) at org.hibernate.cfg.Configuration.configure(Configuration.java:1258) at org.hibernate.cfg.Configuration.configure(Configuration.java:1245) at com.procure.login.action.LoginAction.validateUser(LoginAction.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at ...

4. org.hibernate.HibernateException: /hibernate.cfg.xml not fo    forum.hibernate.org

Hi , I am Madhavi.I was new to hibernate.I am developing hibernate through Eclipse. My requirement is to data into the database. IN the IDE there is No error But ,When i run the application i am getting the Error Exception in thread "main" org.hibernate.HibernateException: /hibernate.cfg.xml not found at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147) at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1287) at org.hibernate.cfg.Configuration.configure(Configuration.java:1309) at org.hibernate.cfg.Configuration.configure(Configuration.java:1296) at org.classes.getter.main(getter.java:15) my java class ...