You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2015/10/07 20:39:26 UTC

[jira] [Resolved] (DELTASPIKE-997) org.apache.deltaspike.data.impl.meta.unit.PersistenceUnitsTest fails on weblogic

     [ https://issues.apache.org/jira/browse/DELTASPIKE-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved DELTASPIKE-997.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.1

> org.apache.deltaspike.data.impl.meta.unit.PersistenceUnitsTest fails on weblogic
> --------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-997
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-997
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.5.0
>            Reporter: JJ Snyder
>            Assignee: Gerhard Petracek
>            Priority: Minor
>             Fix For: 1.5.1
>
>
> 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.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)