java.lang.ExceptionInInitializerError

coderanch.com | 3 months ago
  1. 0

    Hibernate Exception: Could not parse mapping document

    Stack Overflow | 7 years ago
    org.hibernate.InvalidMappingException: Could not parse mapping document from resource hibernate/Tbluser.hbm.xml
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    The content of element type "id" must match - hbm xml

    Stack Overflow | 2 years ago | BratVaddi
    java.lang.ExceptionInInitializerError

  1. mauritius 2 times, last 1 month ago
  2. rp 1 times, last 5 months ago
6 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.xml.sax.SAXParseException

    The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query)*)".

    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException()
  2. Java RT
    SAXParserImpl$JAXPSAXParser.parse
    1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
    3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
    4. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
    5. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
    6. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
    7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    8. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
    9. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
    10. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
    11. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    12. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    13. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    14. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    15. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
    16. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    16 frames
  3. dom4j
    SAXReader.read
    1. org.dom4j.io.SAXReader.read(SAXReader.java:465)
    1 frame
  4. Hibernate
    Configuration.configure
    1. org.hibernate.cfg.Configuration.addInputStream(Configuration.java:532)
    2. org.hibernate.cfg.Configuration.addResource(Configuration.java:599)
    3. org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621)
    4. org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)
    5. org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)
    6. org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)
    7. org.hibernate.cfg.Configuration.configure(Configuration.java:1462)
    8. org.hibernate.cfg.Configuration.configure(Configuration.java:1448)
    8 frames
  5. naveen.hibernate
    EmployeeTestCase.main
    1. naveen.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:13)
    2. naveen.hibernate.EmployeeTestCase.main(EmployeeTestCase.java:9)
    2 frames