org.hibernate.HibernateException

/hibernate.cfg.xml not found

Solutions on the web1354

  • via Coderanch by naresh pokuri, 7 months ago
    conf/hibernate.cfg.xml not found
  • via Coderanch by kamal krishna bhatt, 7 months ago
    /hibernate.cfg.xml not found
  • via Coderanch by BhanuChandar Challa, 7 months ago
    /hibernate.cfg.xml not found
  • Stack trace

    • 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:1411) at org.hibernate.cfg.Configuration.configure(Configuration.java:1433) at de.laliluna.example.HibernateSessionFactory.currentSession(HibernateSessionFactory.java:40) at de.laliluna.example.TestClient.createHoney(TestClient.java:30) at de.laliluna.example.TestClient.main(TestClient.java:16)

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 10 months ago