Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-997

org.apache.deltaspike.data.impl.meta.unit.PersistenceUnitsTest fails on weblogic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • Tests
    • None

    Description

      org.apache.deltaspike.data.impl.meta.unit.PersistenceUnitsTest fails when run against weblogic with:

      Caused By: java.lang.ClassNotFoundException: org.apache.deltaspike.data.test.util.TestData

      The problem is that the class TransactionalTestCase.class is added to the war but org.apache.deltaspike.data.test.util.TestData is not. Removing

      TransactionalTestCase.class, MappedOneRepository.class)

      from the .addClasses in PersistenceUnitsTest allows this test to pass.
      There appears to be no reason to have TransactionalTestCase in the war for this test so the easy solution is to just remove it.

      Attachments

        Activity

          People

            gpetracek Gerhard Petracek
            jjsnyder JJ Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: