title: ProvisionException: Unable to provision
body: <p>I got this error while trying to integrate postgresql into my play app:</p>
  
  <pre><code>ProvisionException: Unable to provision, see the following errors: 
  1) No implementation for play.api.db.slick.DatabaseConfigProvider was bound. 
  while locating play.api.db.slick.DatabaseConfigProvider 
  for parameter 0 at models.EntryRepo.&lt;init&gt;(EntryRepo.scala:10) 
  while locating models.EntryRepo 
  for parameter 0 at controllers.Entries.&lt;init&gt;(Entries.scala:17) 
  while locating controllers.Entries for parameter 4 at router.Routes.&lt;init&gt;(Routes.scala:39) 
  while locating router.Routes 
  while locating play.api.inject.RoutesProvider while locating play.api.routing.Router
  </code></pre>
  
  <p>My SBT file:</p>
  
  <pre><code>lazy val root = (project in file(".")).enablePlugins(PlayScala)
  
  scalaVersion := "2.11.6"
  
  libraryDependencies ++= Seq(
      cache,
    ws,
    specs2 % Test
  )
  
  libraryDependencies ++= Seq(
    "com.typesafe.play" %% "play-slick" % "1.1.1",
    "com.typesafe.play" %% "play-slick-evolutions" % "1.1.1",
    "org.postgresql" % "postgresql" % "9.4-1201-jdbc4",
    "com.typesafe.slick" %% "slick" % "3.1.1",
      "com.typesafe.slick" %% "slick-hikaricp" % "3.1.1",
    "org.slf4j" % "slf4j-nop" % "1.6.4"
  )
  
  resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
  
  routesGenerator := InjectedRoutesGenerator
  </code></pre>
  
  <p>My application.conf</p>
  
  <pre><code>slicks.dbs.default.driver="slick.driver.PostgresDriver$"
  slicks.dbs.default.dataSourceClass="slick.jdbc.DatabaseUrlDataSource"
  slicks.dbs.default.db.default.driver = org.postgresql.Driver
  slicks.dbs.default.db.default.url = "jdbc:postgresql://localhost:5000/aleksander"
  slicks.dbs.default.db.default.user = postgres
  slicks.dbs.default.db.default.password = "lelelel"
  </code></pre>
  
  <p>The parts with the injection</p>
  
  <pre><code>class EntryRepo @Inject()(protected val dbConfigProvider: DatabaseConfigProvider) {...}
  class Entries @Inject()(entryRepo: EntryRepo) extends Controller {...}
  </code></pre>
  
  <p>I've been following the play-slick3 template from activator. I tried to follow the template as close as possible but the error still persists</p>