In models you import this:
import models.mongoContext._
Disclosure: I am very new to play2/salat. And I'm getting various exceptions, it seems something wrong with the CustomContext. I frankly would expect a package called mongoContext under models.
-- Attempting to run the application cloned from this repo:
"could not find implicit value for parameter ctx: com.novus.salat.Context"
-- Attempting to run my custom application that follows the same config and build setup:
object mongoContext is not a member of package models
In ...\Search.scala at line 9.
import com.novus.salat.dao.
import com.mongodb.casbah.Imports.
import com.novus.salat.annotations.
import se.radley.plugin.salat.
import models.mongoContext._
Try to pull. Just accepted a pull request that I think will fix this issue. The custom context was there at some point and must have been left in. Proabably cached at my end so I did not notice the issue.
In models you import this: import models.mongoContext._
Disclosure: I am very new to play2/salat. And I'm getting various exceptions, it seems something wrong with the CustomContext. I frankly would expect a package called mongoContext under models.
-- Attempting to run the application cloned from this repo: "could not find implicit value for parameter ctx: com.novus.salat.Context"
-- Attempting to run my custom application that follows the same config and build setup:
object mongoContext is not a member of package models
In ...\Search.scala at line 9. import com.novus.salat.dao. import com.mongodb.casbah.Imports. import com.novus.salat.annotations. import se.radley.plugin.salat. import models.mongoContext._