when I try to import MongoDB repository, IDE gives an error as shown in the image and cannot extends the class I created
I'm using
org.springframework.boot
spring-boot-starter-parent
2.0.3.RELEASE
I think that you haven't added dependency in your pom.xml
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
@EnableMongoRepositoriesin your configuration class? - Constantin Beer