-
Notifications
You must be signed in to change notification settings - Fork 683
DeferredRepositoryInitializationListener
is registered multiple times
#3287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good catch, on it! |
4 tasks
@odrotbohm @mp911de Let's fix this! |
DeferredRepositoryInitializationListener
is registered multiple times
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using spring-data-jpa 3.3.0 with multiple data sources and entity managers and therefore I have multiple @EnableJpaRepositories annotations. I now wanted to change the bootstrap mode to DEFERRED but I get
as each time the @EnableJpaRepositories annotation is processed RepositoryConfigurationDelegate tries to register a DeferredRepositoryInitializationListener bean.
Only register DeferredRepositoryInitializationListener once.
The text was updated successfully, but these errors were encountered: