java.lang.ExceptionInInitializerError

This exception has no message.

Solutions on the web8219

  • This exception has no message.
  • via Terracotta by hashcode, 1 year ago
    This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.ExceptionInInitializerError at util.HibernateUtil.<clinit>(HibernateUtil.java:16) at manager.PersonneManager.ajouterPersonne(PersonneManager.java:12) at test.TestMain.main(TestMain.java:15) Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from resource bean/Personne.hbm.xml at org.hibernate.cfg.Configuration.addResource(Configuration.java:616) at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1635) at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1603) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1582) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1556) at org.hibernate.cfg.Configuration.configure(Configuration.java:1476) at org.hibernate.cfg.Configuration.configure(Configuration.java:1462) at util.HibernateUtil.<clinit>(HibernateUtil.java:12) ... 2 more Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:549) at org.hibernate.cfg.Configuration.addResource(Configuration.java:613) ... 9 more

    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, 1 year ago