-
Notifications
You must be signed in to change notification settings - Fork 682
Could not safely identify store assignment Spring Data Redis #3261
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
This is because |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Spring Data Redis - Could not safely identify store assignment for
repository candidate interface com.xxx.xxxx.api.mongodb.repository.ABCMongoRepository;
If you want this repository to be a Redis repository, consider annotating your entities
with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred),
or consider extending one of the following types with your repository:
org.springframework.data.keyvalue.repository.KeyValueRepository
Note:
@EnableJpaRepositories(basePackages = "com.xxx.xxxx.repository")
@EnableMongoRepositories(basePackages = "com.xxx.xxxx.api.mongodb.repository")
Can anyone pls suggest.
The text was updated successfully, but these errors were encountered: