Reputation: 31
I use Play 2.2.0, here is my code
libraryDependencies ++= Seq(
cache,
jdbc,
anorm,
"net.fwbrasil" %% "activate-play" % "1.6" exclude("org.scala-stm", "scala-stm_2.10.0"),
"net.fwbrasil" %% "activate-jdbc-async" % "1.6" exclude("org.scala-stm", "scala-stm_2.10.0"),
"net.fwbrasil" %% "activate-mongo-async" % "1.6" exclude("org.scala-stm", "scala-stm_2.10.0"),
"com.h2database" % "h2" % "1.4.180",
"org.scalatest" % "scalatest_2.10" % "2.0" % "test"
)
But when I type Cache
, there is no play.api.cache.Cache
choice for me. Even when I import play.api.cache._
it cant recognize Cache. The same as import play.api.cache.Cache
Upvotes: 0
Views: 233
Reputation: 10404
I assume you are talking about IDE auto-completion. Whenever you change your libs/dependencies, you have to update the ide project.
For Eclipse :
play eclipse
More information on the official website.
Upvotes: 1