Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2244

Nested classpath ignored in mapping tool ant task

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1, 2.1.1, 2.2.0
    • 2.0.2, 2.1.2, 2.2.2, 2.2.1.1, 2.3.0
    • None
    • None
    • Patch Available

    Description

      The nested classpath element inside the mappingtool ant task are ignored when loading the persistent configuration file. User got the following error:

      <openjpa-2.0.2-SNAPSHOT-r422266:1361284M fatal user error> org.apache.openjpa.util.MetaDataException: MetaDataFactory could not be configured (conf.newMetaDataFactoryInstance() returned null). This might mean that no configuration properties were found. Ensure that you have a META-INF/persistence.xml file, that it is available in your classpath, or that the properties file you are using for configuration is available. If you are using Ant, please see the <properties> or <propertiesFile> attributes of the task's nested <config> element. This can also occur if your OpenJPA distribution jars are corrupt, or if your security policy is overly strict.

      Attachments

        1. OPENJPA-2244.patch
          11 kB
          Helen Xu
        2. OPENJPA-2244.patch
          4 kB
          Helen Xu

        Activity

          People

            helenxu Helen Xu
            helenxu Helen Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: