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

Oracle Community | 666705 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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]

    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