Unable to create a MongoClient because of the following line in MongoClientFactorySupport#77

private void validateConfiguration() { if (hasCustomAddress() || hasCustomCredentials() || hasReplicaSet()) { Assert.state(this.properties.getUri() == null, "Invalid mongo configuration, either uri or host/port/credentials/replicaSet must be specified"); } }

It seems to have the wrong condition as the == should be !=. If you have a Uri value then it will start throwing the exception.

Version is 2.3.4