After adding

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
        </dependency>

to project with spring-boot-starter-data-r2dbc spring data failes to find R2DBC repositories

Spring boot version 3.1.3

Steps to reproduce 1. Fetch guide repo https://github.com/spring-guides/gs-accessing-data-r2dbc 2. Add dependency

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
        </dependency>
  1. Try to run app

Comment From: wilkinsona

An INFO message is logged that explains what is happening and what to do:

2023-11-07T15:19:08.454Z  INFO 11869 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data R2DBC - Could not safely identify store assignment for repository candidate interface com.example.accessingdatar2dbc.CustomerRepository; If you want this repository to be a R2DBC repository, consider annotating your entities with one of these annotations: org.springframework.data.relational.core.mapping.Table (preferred), or consider extending one of the following types with your repository: org.springframework.data.r2dbc.repository.R2dbcRepository

Adding recommended @Table to the Customer entity fixes the problem.

If you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.