com.mongodb.CommandFailureException

{ "serverUsed" : "localhost:27017" , "ok" : 0 , "errmsg" : "no such cmd: renameCollection"}

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web59

Stack trace

  • com.mongodb.CommandFailureException: { "serverUsed" : "localhost:27017" , "ok" : 0 , "errmsg" : "no such cmd: renameCollection"} at com.mongodb.CommandResult.getException(CommandResult.java:76) at com.mongodb.CommandResult.throwOnError(CommandResult.java:140) at com.mongodb.DBCollection.rename(DBCollection.java:1314)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

rocdayrocday
3 times, last one
linxiaolonglinxiaolong
Once,
Unknown visitor
Unknown visitor4 times, last one
Unknown visitor
Unknown visitorOnce,
sriharshakiransriharshakiran
Once,
9 more bugmates