org.hibernate.HibernateException

/hibernate.cfg.xml not found

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web71

  • via Unknown by Unknown author,
  • via Stack Overflow by josser
    ,
  • via Stack Overflow by Zyrax
    ,
  • 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:1405) at org.hibernate.cfg.Configuration.configure(Configuration.java:1427) at HibernateSessionFactory.rebuildSessionFactory(HibernateSessionFactory.java:69) at HibernateSessionFactory.getSession(HibernateSessionFactory.java:53) at BaseHibernateDAO.getSession(BaseHibernateDAO.java:13) at ValidateLoginDAO.findById(ValidateLoginDAO.java:53) at ValidateAdmin.main(ValidateAdmin.java:6)

    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 visitor
    Unknown visitorOnce,