java.lang.ExceptionInInitializerError

hibernate.org | 3 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Could not parse configuration: /hibernate.cfg.xml hibernate.sourceforge.net

    Stack Overflow | 3 years ago | Rohit G
    org.hibernate.HibernateException: Could not parse configuration: /hibernate.cfg.xml
  3. 0

    Hibernate config file parse exception

    Stack Overflow | 3 years ago | Hitesh
    org.hibernate.HibernateException: Could not parse configuration: /hibernate.cfg.xml

    41 unregistered visitors
    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.dom4j.DocumentException

      hibernate.sourceforge.net Nested exception: hibernate.sourceforge.net

      at org.dom4j.io.SAXReader.read()
    2. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXReader.read(SAXReader.java:484)
      1 frame
    3. Hibernate
      Configuration.configure
      1. org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1532)
      2. org.hibernate.cfg.Configuration.configure(Configuration.java:1476)
      3. org.hibernate.cfg.Configuration.configure(Configuration.java:1462)
      3 frames
    4. com.vaannila.util
      HibernateUtil.<clinit>
      1. com.vaannila.util.HibernateUtil.<clinit>(HibernateUtil.java:10)
      1 frame
    5. com.vaannila.course
      Main.main
      1. com.vaannila.course.Main.saveCourse(Main.java:22)
      2. com.vaannila.course.Main.main(Main.java:16)
      2 frames