You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create new project with spring-boot-starter-parent 3.1.8 or higher, include spring-boot-starter-data-jpa and axon and see the following:
Description:
Parameter 2 of method eventStorageEngine in nl.goopher.mychatapp.config.AxonConfig required a bean of type 'org.axonframework.common.jpa.EntityManagerProvider' that could not be found.
Action:
Consider defining a bean of type 'org.axonframework.common.jpa.EntityManagerProvider' in your configuration.
Expected behaviour
The JpaAutoConfiguration class sets up the EntityManagerProvider correctly.
Actual behaviour
Application won't start because of a missing bean.
Basic information
Steps to reproduce
Create new project with spring-boot-starter-parent 3.1.8 or higher, include spring-boot-starter-data-jpa and axon and see the following:
Description:
Parameter 2 of method eventStorageEngine in nl.goopher.mychatapp.config.AxonConfig required a bean of type 'org.axonframework.common.jpa.EntityManagerProvider' that could not be found.
Action:
Consider defining a bean of type 'org.axonframework.common.jpa.EntityManagerProvider' in your configuration.
Expected behaviour
The JpaAutoConfiguration class sets up the EntityManagerProvider correctly.
Actual behaviour
Application won't start because of a missing bean.
I think the issue might be this commit from Spring Boot:
spring-projects/spring-boot#38904
The text was updated successfully, but these errors were encountered: