diff --git a/README.md b/README.md index 11b7c5a24..99475d045 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you'd rather like the latest snapshots of the upcoming major version, use our spring-libs-snapshot Spring Snapshot Repository - http://repo.springsource.org/libs-snapshot + http://repo.spring.io/libs-snapshot ``` @@ -81,7 +81,7 @@ class ApplicationConfig extends AbstractMongoConfiguration { @Override public Mongo mongo() throws Exception { - return new Mongo(); + return new MongoClient(); } @Override @@ -94,9 +94,9 @@ class ApplicationConfig extends AbstractMongoConfiguration { This sets up a connection to a local MongoDB instance and enables the detection of Spring Data repositories (through `@EnableMongoRepositories`). The same configuration would look like this in XML: ```xml - + - +