Package org.springframework.transaction.annotation does not exist

Hi,

After migrating an existing CUBA Studio 12 project built on 6.10 to 7.1.2 I get the following error:

Package org.springframework.transaction.annotation does not exist

image

Any ideas ?

Thanks !

Alejandro

It seems spring-tx is no longer in transitive dependencies of global module. Most likely, you need to move Emailer class to core module.

In order to simply fix the error and keep code as before you can add spring-tx to global module dependencies:

compile 'org.springframework:spring-tx:5.1.6.RELEASE'

Will try, thanks !