java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hibernate exception hibernate.cfg.xml not found
    via Stack Overflow by josser
    ,
  • Java Hibernate Error
    via Stack Overflow by Zyrax
    ,
  • hibernate configuration in jboss 4.0.5
    via Stack Overflow by stam
    ,
  • Using Java , Hibernate and mySql
    via Stack Overflow by user3878929
    ,
  • Where to place hibernate.cfg.xml?
    via Stack Overflow by Noor
    ,
  • hibernate.cfg.xml not found
    via Stack Overflow by greenLizard
    ,
    • java.lang.ExceptionInInitializerError at com.serenix.hibernate.tuto.tools.HibernateUtil.buildSessionFactory(HibernateUtil.java:42) at com.serenix.hibernate.tuto.tools.HibernateUtil.<clinit>(HibernateUtil.java:23) at com.serenix.hibernate.tuto.test.Tester.getBanks(Tester.java:102) at com.serenix.hibernate.tuto.test.Tester.main(Tester.java:133) Caused by: org.hibernate.HibernateException: D:/SERENIX/Projets/JAVA/hibernateTuto/src/hibernate.cfg.xml not found at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:170) at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1497) at org.hibernate.cfg.Configuration.configure(Configuration.java:1519) at com.serenix.hibernate.tuto.tools.HibernateUtil.buildSessionFactory(HibernateUtil.java:37) ... 3 more

    Users with the same issue

    Unknown visitor1 times, last one,