diff --git a/README.md b/README.md index 33a011595..1425c0827 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ You can have Spring automatically create a proxy for the interface by using the class ApplicationConfig extends AbstractMongoConfiguration { @Override - public Mongo mongo() throws Exception { + public MongoClient mongoClient() throws Exception { return new MongoClient(); }