I am using Spring Rest and Mongo in Maven to make a web service that connects to a server. The problem is that I haven\'t written any code for Mongo and it is trying to conn
In some cases, if you are using reactive you also need to remove MongoReactiveAutoConfiguration
spring: autoconfigure: exclude: - org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration - org.springframework.boot.autoconfigure.mongo.MongoReactiveAutoConfiguration