1

Removing an entity from Database throws an exception. It used to work with the later version of casbah (before 3.x.x).

The exception is thrown from the class extending SalatDAO

   remove(MongoDBObject("_id" -> id))

The exception is:

java.lang.NoSuchMethodError: com.mongodb.WriteResult.getCachedLastError()
com.novus.salat.dao.SalatDAO.remove(SalatDAO.scala:376)
com.novus.salat.dao.BaseDAOMethods$class.remove(DAO.scala:195)
Matej Briškár
  • 599
  • 4
  • 17

0 Answers0