I want to introduce slick to my play project, so I add the following dependencies to build.sbt:
\"com.typesafe.play\" %% \"play-slick\"
If you are like me, you have something like this in your build.sbt
libraryDependencies ++= Seq(
jdbc,
cache,
ws,
specs2 % Test,
"mysql" % "mysql-connector-java" % "5.1.37",
"com.typesafe.play" %% "play-slick" % "1.1.1",
"com.typesafe.play" %% "play-slick-evolutions" % "1.1.1"
)
remove jdbc
libraryDependencies ++= Seq(
//jdbc, //<<---- this one here
cache,
You have probably added dependency to jdbc which doesn't make sense if you use slick for it. Remove it and it will work.