i used spring boot 2.7.3 and axon-framework 4.5, for some reason i tried to upgrade axon to 4.9
but after doing this application doesn’t start anymore.it seems that axon use spring 3 in infrastructure didn’t it?
is it compatible spring boot 2.7.3 and axon-framework?
any way i’m using JpaTokenStore in this code:
@Bean
public TokenStore myTokenStore(Serializer serializer) {
return JpaTokenStore.builder()
.entityManagerProvider(primaryEntityManagerProvider())
.serializer(serializer)
.loadingLockMode(LockModeType.NONE)
.build();
}
and the error is:
java.lang.NoClassDefFoundError: jakarta/persistence/EntityManager
thanks axon community :))