I have created a basic spring boot application from SPRING INITIALIZR with the Web, MongoDB and JPA dependencies.
When I try to run the spring boot
Since you have added both mongodb and data-jpa dependencies in your pom.xml file, it was creating a dependency conflict like below
org.springframework.boot
spring-boot-starter-data-jpa
org.springframework.boot
spring-boot-starter-data-mongodb
Try removing jpa dependency and run. It should work fine.