Closed
Description
Viktor Khoroshko opened DATAMONGO-1293 and commented
The following isn't working: <mongo:db-factory id="myMongoDbFactory" client-uri="mongodb://localhost:27020/test"/>
. The following exception is thrown:
Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Configure either Mongo URI or details individually!
Offending resource: class path resource [jingit-financial-services-event-mongo.xml]
at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:72)
at org.springframework.data.mongodb.config.MongoDbFactoryParser.parseInternal(MongoDbFactoryParser.java:77)
Affects: 1.8 GA (Gosling)
Referenced from: pull request #328
Backported to: 1.8.1 (Gosling SR1)