org.apache.openjpa.util.GeneralException: /javax/jdo/jdo.dtd (No such file or directory) [jdoc]

Oracle Community | 666705 | 9 years ago
  1. 0

    Kodo 4.1.4 : package.jdo parsing problem with Ant PCEnhance task

    Oracle Community | 9 years ago | 666705
    org.apache.openjpa.util.GeneralException: /javax/jdo/jdo.dtd (No such file or directory) [jdoc]
  2. 0

    OpenJPA Users - Attribute 'pk-column-value' is not allowed to appear in element 'generated-value'

    nabble.com | 1 year ago
    org.apache.openjpa.util.GeneralException: org.xml.sax.SAXException: > > file:/home/gilberto/dev/netbeans-config/park-jpa/core/target/classes/META-INF/orm.xml > [Location: Line: 30, C: 105]: org.xml.sax.SAXParseException: > cvc-complex-type.3.2.2: Attribute 'pk-column-value' is not allowed to > appear > in element 'generated-value'. at > > org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(PersistenceMetaDataFactory.java:295) at > > org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(PersistenceMetaDataFactory.java:228) at > > org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:554) at > > org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:374) at > > org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:358)
  3. 0

    OpenJPA + MySQL issue

    Stack Overflow | 5 years ago | Kaps
    org.apache.openjpa.util.GeneralException: org.xml.sax.SAXException: file:/E:/work/JPAPlain/build/classes/META-INF/persistence.xml [Location: Line: 5, C: 28]: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'persistence'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting javax.persistence.PersistenceException while persisting object using JPA

    Stack Overflow | 2 years ago | Raju
    org.apache.openjpa.util.GeneralException: org.xml.sax.SAXException: file:/C:/Users/omandala/EIP_Workspace/validation/target/classes/META-INF/persistence.xml [Location: Line: 1, C: 32]: org.xml.sax.SAXParseException; systemId: file:/C:/Users/omandala/EIP_Workspace/validation/target/classes/META-INF/persistence.xml; lineNumber: 1; columnNumber: 32; cvc-elt.1: Cannot find the declaration of element 'persistence-unit'.
  6. 0

    TomEE and OpenEJB JPA deploy time enhancement | new RManniBucau().blog()

    wordpress.com | 6 months ago
    org.apache.openjpa.util.GeneralException: org.xml.sax.SAXException: file:/C:/TomEETest/build/web/WEB-INF/classes/META-INF/persistence.xml [Location: Line: 8, C: 15]: org.xml.sax.SAXParseException; systemId: file:/C:/TomEETest/build/web/WEB-INF/classes/META-INF/persistence.xml; lineNumber: 8; columnNumber: 15; cvc-complex-type.2.4.a: Invalid content was found starting with element ‘provider’. 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”:shared-cache-mode, “http://java.sun.com/xml/ns/persistence”:validation-mode, “http://java.sun.com/xml/ns/persistence”:properties}’ is expected.

    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.apache.openjpa.util.GeneralException

      /javax/jdo/jdo.dtd (No such file or directory) [jdoc]

      at org.apache.openjpa.meta.AbstractCFMetaDataFactory.parse()
    2. OpenJPA Aggregate Jar
      AbstractCFMetaDataFactory.parse
      1. org.apache.openjpa.meta.AbstractCFMetaDataFactory.parse(AbstractCFMetaDataFactory.java:443)[jdoc]
      1 frame
    3. kodo.jdo
      JDOMetaDataFactory.load
      1. kodo.jdo.JDOMetaDataFactory.load(JDOMetaDataFactory.java:116)[jdoc]
      1 frame
    4. OpenJPA Aggregate Jar
      AbstractTask.execute
      1. org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:417)[jdoc]
      2. org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:275)[jdoc]
      3. org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:216)[jdoc]
      4. org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:3665)[jdoc]
      5. org.apache.openjpa.ant.PCEnhancerTask.executeOn(PCEnhancerTask.java:89)[jdoc]
      6. org.apache.openjpa.lib.ant.AbstractTask.execute(AbstractTask.java:169)[jdoc]
      6 frames
    5. Ant
      Main.main
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)[jdoc]
      2. org.apache.tools.ant.Task.perform(Task.java:319)[jdoc]
      3. org.apache.tools.ant.Target.execute(Target.java:309)[jdoc]
      4. org.apache.tools.ant.Target.performTasks(Target.java:336)[jdoc]
      5. org.apache.tools.ant.Project.executeTarget(Project.java:1306)[jdoc]
      6. org.apache.tools.ant.Project.executeTargets(Project.java:1250)[jdoc]
      7. org.apache.tools.ant.Main.runBuild(Main.java:610)[jdoc]
      8. org.apache.tools.ant.Main.start(Main.java:196)[jdoc]
      9. org.apache.tools.ant.Main.main(Main.java:235)
      9 frames