If you are using redis implementing your own persistence layer, you are not using the interface that extends CrudRepository.
That was my case, I just deactivated the redis repositories search and the message below disappeared from my JPA repositories.
Spring Data Redis – Could not safely identify store assignment for repository candidate interface
To disable redis repositories set to false in application.properties:
spring.data.redis.repositories.type = none
In older versions: .repositories.enabled = false
This is already a relief because for many JPA repositories this is pretty annoying.