failed.org.hibernate.HibernateException: C:\Users\Nikolay_Tkachev\workspace\hiberTest\src\logic\hibernate.cfg.xml not found Exception in thread "main" java.lang.ExceptionInInitializerError

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Location of hibernate.cfg.xml in project?

    Stack Overflow | 3 years ago | gstackoverflow
    failed.org.hibernate.HibernateException: C:\Users\Nikolay_Tkachev\workspace\hiberTest\src\logic\hibernate.cfg.xml not found Exception in thread "main" java.lang.ExceptionInInitializerError
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Hibernate Community • View topic - hibernate.cfg.xml not found

    hibernate.org | 6 months ago
    java.lang.ExceptionInInitializerError
  4. 0

    Where to place hibernate.cfg.xml?

    Stack Overflow | 4 years ago | Noor
    java.lang.ExceptionInInitializerError

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.HibernateException

      C:\Users\Nikolay_Tkachev\workspace\hiberTest\src\logic\hibernate.cfg.xml not found

      at org.hibernate.internal.util.ConfigHelper.getResourceAsStream()
    2. Hibernate
      Configuration.configure
      1. org.hibernate.internal.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:173)
      2. org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1947)
      3. org.hibernate.cfg.Configuration.configure(Configuration.java:1928)
      3 frames
    3. logic
      Main.main
      1. logic.HibernateUtil.buildSessionFactory(HibernateUtil.java:14)
      2. logic.HibernateUtil.<init>(HibernateUtil.java:9)
      3. logic.Main.main(Main.java:12)
      3 frames