Aug 26th, 2011, 03:47 AM
mongo:options auto-connect-retry is unavailable
when specify mongo:options 's property auto-connect-retry, the exception is thrown as following:
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'auto-connect-retry' is not allowed to appear in element 'mongo:options'.
<mongo:mongo id="mongo" >
Aug 26th, 2011, 04:29 AM
which schema and which spring data version are you using?
Aug 28th, 2011, 10:19 PM
I meet the same trouble too.
If specify any property of mongodb options,the exception is thrown.
Last edited by wangyin; Aug 28th, 2011 at 10:27 PM.
Aug 28th, 2011, 10:41 PM
Hi, Matthias,I have tested spring-data-mongodb-1.0.0.M3 and it worked!
It seems that this is a issue of spring-data-mongodb-1.0.0.M2.
Aug 29th, 2011, 07:44 AM
in M2 it was camelCase
with M3 it changed to dash-notation
Tags for this Thread