We're updating the issue view to help you get more done. 

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

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:

1 2 3 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

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Guillaume Smet

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

5.0.4

Priority

Major