org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mapping-file'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected.

Oracle Community | 666705 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    db:: 3.96::Multiple JPA projects - one persistence.xml - can not be done? 18

    hivmr.com | 10 months ago
    org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mapping-file'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected.
  2. 0

    db:: 3.29::Classnot found exception- persistence.xml pc

    hivmr.com | 11 months ago
    org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mapping-file'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected.
  3. 0

    Kodo 4.0.1 - does it support seperate mapping files?

    Oracle Community | 1 decade ago | 666705
    org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mapping-file'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      cvc-complex-type.2.4.a: Invalid content was found starting with element 'mapping-file'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected.

      at com.solarmetric.conf.Configurations.load()
    2. com.solarmetric.conf
      Configurations.populateConfiguration
      1. com.solarmetric.conf.Configurations.load(Configurations.java:582)
      2. com.solarmetric.conf.Configurations.populateConfiguration(Configurations.java:474)
      2 frames
    3. kodo.enhance
      PCEnhancer.main
      1. kodo.enhance.PCEnhancer.run(PCEnhancer.java:3753)
      2. kodo.enhance.PCEnhancer.main(PCEnhancer.java:3720)
      2 frames