Skip to content
This repository was archived by the owner on Oct 24, 2018. It is now read-only.
This repository was archived by the owner on Oct 24, 2018. It is now read-only.

CustomContext issues #6

@mshirman

Description

@mshirman

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._

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions