Could not safely identify store assignment Spring Data Redis #3261
Labels
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged
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: