Mongodb – How to resolve the 'Factory method 'mongoDatabaseFactory' threw exception with message: Database name must not be empty' error in Spring Boot?
Error creating bean with name 'mongoDatabaseFactory' defined in class path resource. Failed to instantiate [org.springframework.data.mongodb.core.MongoDatabaseFactorySupport]: Factory method 'mongoDatabaseFactory' threw exception with message: Database name must not be empty I'm not sure what I'm doing wrong here. error message application.properties I…