type current is not a member of object play.api.Play
[error] val dbConfig = DatabaseConfigProvider.get[JdbcProfile][Play.current]
I am including the following imports.
import play.api._
import play.api.db.slick._
import play.api.Play.current
import play.api.db.slick.DatabaseConfigProvider
import scala.concurrent.ExecutionContext.Implicits.global
import slick.driver.JdbcProfile
import slick.jdbc._
Does anybody know what could be the problem.
BTW. This was working before with PlaySlick plugin 1.1.1. I used 2.0.0 and I get this error. I went back t0 1.1.1 and still get this error.
val dbConfig = DatabaseConfigProvider.get[JdbcProfile][Play.current]
--
---
You received this message because you are subscribed to a topic in the Google Groups "Slick / ScalaQuery" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalaquery/9TzbDYbhqA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scalaquery+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalaquery/e5349b94-bad6-4e7b-b919-986242735100%40googlegroups.com.