org.hibernate.HibernateException

/hibernate.cfg.xml not found

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

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:170) at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1453) at org.hibernate.cfg.Configuration.configure(Configuration.java:1475) at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:1017) at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:64) at org.hibernate.cfg.Configuration.configure(Configuration.java:1462) at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:1011) at com.hibernate.chapter.HelloEmployee.main(HelloEmployee.java:18)

    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