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
  1. 0

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

    hivmr.com | 5 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 | 6 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

  5. 0

    sequence and triggers; from oracle to java ?

    Oracle Community | 8 years ago | chflb
    com.sun.enterprise.deployment.backend.IASDeploymentException: Erreur lors du chargement des descripteurs de d├ęploiement pour le module [WebApplication4] ligne 5 colonne 60 -- Fichier de descripteur de d├ęploiement META-INF/persistence.xml dans l'archive [classes]. cvc-complex-type.2.4.a: Invalid content was found starting with element 'property'. One of '{"http://java.sun.com/xml/ns/persistence":non-jta-data-source, "http://java.sun.com/xml/ns/persistence":mapping-file, "http://java.sun.com/xml/ns/persistence":jar-file, "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.
  6. 0

    Unable to deploy persistence entity on JBOss : Please Help

    Oracle Community | 9 years ago | 843830
    javax.persistence.PersistenceException: invalid persistence.xml

    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

      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