org.hibernate.MappingException: invalid configuration

hibernate.org | 3 months ago
  1. 0

    Hibernate Community • View topic - Could not parse configuration: /hibernate.cfg.xml

    hibernate.org | 5 months ago
    org.hibernate.MappingException: invalid configuration
  2. 0

    Hibernate Community • View topic - Could not parse configuration: /hibernate.cfg.xml

    hibernate.org | 3 months ago
    org.hibernate.MappingException: invalid configuration
  3. 0

    SOCORRO!!! Problema com mapeamento no Hibernate

    com.br | 1 year ago
    org.hibernate.MappingException: invalid configuration
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hibernate test project not working

    Stack Overflow | 4 years ago | Jafar Ali
    org.hibernate.MappingException: Error reading resource: test/Reservation.hbm.xml
  6. 0

    applicationContext-hibernate.xml con't load | Oracle Community

    oracle.com | 7 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [WEB-INF/applicationContext_1.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping

    4 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 "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)".

      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
    2. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      2. org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
      3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      5. org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
      6. org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
      7. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      9. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      10. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      11. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      12. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      13. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      13 frames
    3. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXReader.read(SAXReader.java:465)
      1 frame
    4. Hibernate
      Configuration.doConfigure
      1. org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1481)
      1 frame