title: Play 2.4.x package play.db.ebean does not exist
body: <p>After creating a new application using activator, I was trying to connect to DB and configured all the necessary steps needed to connect to DB (Following through Play site).</p>
  
  <p>I couldn't succeed and always get this error.</p>
  
  <p>Here is my build.sbt</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>name := """xxxxx"""
  
  version := "1.0-SNAPSHOT"
  
  // lazy val root = (project in file(".")).enablePlugins(PlayJava)
  
  scalaVersion := "2.11.6"
  
  libraryDependencies ++= Seq(
    javaJdbc,
    javaJpa,
    cache,
    javaWs,
    evolutions
  )
  libraryDependencies += specs2 % Test
  
  resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"
  
  lazy val root = (project in file("."))
    .enablePlugins(PlayJava, PlayEbean)
  
  
  // Play provides two styles of routers, one expects its actions to be injected, the
  // other, legacy style, accesses its actions statically.
  routesGenerator := InjectedRoutesGenerator</code></pre>
  </div>
  </div>
  </p>
  
  <p>[Updated] Here is my <code>projects/plugins.sbt</code></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>// The Play plugin
  addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.3")
  
  // Web plugins
  addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
  addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.6")
  addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
  addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.7")
  addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.0")
  addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")
  addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % "1.0.0")
  
  // Play enhancer - this automatically generates getters/setters for public fields
  // and rewrites accessors of these fields to use the getters/setters. Remove this
  // plugin if you prefer not to have this feature, or disable on a per project
  // basis using disablePlugins(PlayEnhancer) in your build.sbt
  addSbtPlugin("com.typesafe.sbt" % "sbt-play-enhancer" % "1.1.0")
  
  // Play Ebean support, to enable, uncomment this line, and enable in your build.sbt using
  // enablePlugins(SbtEbean). Note, uncommenting this line will automatically bring in
  // Play enhancer, regardless of whether the line above is commented out or not.
  //addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % "1.0.0")</code></pre>
  </div>
  </div>
  </p>
  
  <p>Here is my <code>application.conf</code></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code># Configure Ebean
  ebean.default = ["models.*"]
  
  #JPA Configuration
  jpa.default=defaultPersistenceUnit
  
  # Database configuration
  # ~~~~~
  # You can declare as many datasources as you want.
  # By convention, the default datasource is named `default`
  #
   db.default.driver=org.h2.Driver
   db.default.url="jdbc:h2:mem:play"
   db.default.username=sa
   db.default.password=""</code></pre>
  </div>
  </div>
  </p>
  
  <p>Also is play.db.ebean.Model is deprecated in Play 2.4.x?</p>
  
  <p>I have attached a screen shot of the error.</p>
  
  <p><a href="https://i.stack.imgur.com/sGgGl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sGgGl.png" alt="play.db.ebean does not exist"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ODGsV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ODGsV.png" alt="package com.avaje.ebean does not exist"></a></p>