org.hibernate.HibernateException

/hibernate.cfg.xml not found

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web49

Stack trace

  • org.hibernate.HibernateException: /hibernate.cfg.xml not found at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1087) at org.hibernate.cfg.Configuration.configure(Configuration.java:1111) at org.hibernate.cfg.Configuration.configure(Configuration.java:1098) at org.jbpm.db.JbpmSessionFactory.createConfiguration(JbpmSessionFactory.java:114) at org.jbpm.db.JbpmSessionFactory.createConfiguration(JbpmSessionFactory.java:102) at com.sample.jbpm.AbstractDbTestCase.getTestConfiguration(AbstractDbTestCase.java:49) at com.sample.jbpm.AbstractDbTestCase.getJbpmSessionFactory(AbstractDbTestCase.java:32) at com.sample.jbpm.AbstractDbTestCase.beginSessionTransaction(AbstractDbTestCase.java:96) at com.sample.jbpm.AbstractDbTestCase.setUp(AbstractDbTestCase.java:84) at com.sample.jbpm.WorkFlow.<init>(WorkFlow.java:51) at com.sample.jbpm.WorkFlow.main(WorkFlow.java:85)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

No Bugmate found.