我嘗試從MongoDB中讀取數據。和我有一個問題:db已經存在與不同的情況下其他
Exception in thread "main" com.mongodb.MongoException: db already exists with different case other
的exeption從這裏拋出:
DBCursor cur[] = new DBCursor[cursorSize];
...
cur[i].hasNext() // Exeption
是什麼問題?
蒙戈的版本是2.10.1
你正在使用哪個版本? –
@parvin我添加了數據。我用2.10.1 –
? https://groups.google.com/forum/#!topic/mongodb-user/f0uKBkU_7pQ – WiredPrairie