Uploaded image for project: 'Hibernate ORM'
  1. HHH-10307

JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.7
    • Component/s: None
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      Hi,

      After the upgrade to 5.0.4 (Maven environment so dependencies are OK), we started to have the following Exception at the start of our Spring context which cannot initialize the entityManagerFactory anymore:

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class fr.openwide.core.basicapp.core.config.spring.BasicApplicationCoreCommonJpaConfig: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/SystemException
      Caused by: java.lang.NoClassDefFoundError: javax/transaction/SystemException
      Caused by: java.lang.ClassNotFoundException: javax.transaction.SystemException
      

      5.0.3 works fine.


      Guillaume

        Attachments

          Issue links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 13m
                  13m