title: Play 2.4.1, PlayEbean not found
body: <p>After updating my Java project from 2.2 to 2.4, I followed the instructions on the Migration page, but am getting that error, saying the value PlayEbean was not found.</p>
  
  <p>What am I doing wrong? As far as I can tell I only have to add that one line to the plugins.sbt file and it should work, right?</p>
  
  <p>EDIT: I tried 2.4.2, exact same problem occured.</p>
  
  <p>For clarity's sake: there is no build.sbt file. Only a Build.scala file and a BuildKeys.scala and BuildPlugin.scala file. Though those last 2 have no relation to this problem.</p>
  
  <p>The files:</p>
  
  <p>project/Build.scala:</p>
  
  <pre><code>import sbt._
  import Keys._
  
  import play.sbt.PlayImport._
  import PlayKeys._
  
  object BuildSettings {
      val appVersion        = "0.1"
      val buildScalaVersion = "2.11.7"
  
      val buildSettings = Seq (
          version      := appVersion,
          scalaVersion := buildScalaVersion
      )
  }
  
  object Resolvers {
      val typeSafeRepo = "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
      val localRepo = "Local Maven Repositor" at "file://"+Path.userHome.absolutePath+"/.m2/repository"
      val bintrayRepo = "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"
      val sbtRepo = "Public SBT repo" at "https://dl.bintray.com/sbt/sbt-plugin-releases/"
  
      val myResolvers = Seq (
          typeSafeRepo,
          localRepo,
          bintrayRepo,
          sbtRepo
      )
  }
  
  object Dependencies {
          val mindrot = "org.mindrot" % "jbcrypt" % "0.3m"
          val libThrift = "org.apache.thrift" % "libthrift" % "0.9.2"
          val commonsLang3 = "org.apache.commons" % "commons-lang3" % "3.4"
          val commonsExec = "org.apache.commons" % "commons-exec" % "1.3"
          val guava = "com.google.guava" % "guava" % "18.0"
          val log4j = "org.apache.logging.log4j" % "log4j-core" % "2.3"
          val jacksonDataType = "com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % "2.5.3"
          val jacksonDataformat = "com.fasterxml.jackson.dataformat" % "jackson-dataformat-xml" % "2.5.3"
          val postgresql = "postgresql" % "postgresql" % "9.3-1103.jdbc41"
  
          val myDeps = Seq(
              // Part of play
              javaCore,
              javaJdbc,
              javaWs,
              cache,
  
              // User defined
              mindrot,
              libThrift,
              commonsLang3,
              commonsExec,
              guava,
              log4j,
              jacksonDataType,
              jacksonDataformat,
              postgresql
          )
  }
  
  object ApplicationBuild extends Build {
      import Resolvers._
      import Dependencies._
      import BuildSettings._
  
      val appName = "sandbox"
  
      val main = Project(
              appName, 
              file("."),
              settings = buildSettings ++ Seq (resolvers := myResolvers, libraryDependencies := myDeps)
          )
      .enablePlugins(play.PlayJava, PlayEbean)
      .settings(jacoco.settings: _*)
      .settings(parallelExecution in jacoco.Config := false)
      .settings(javaOptions in Test ++= Seq("-Xmx512M"))
      .settings(javaOptions in Test ++= Seq("-XX:MaxPermSize=512M"))
  }
  </code></pre>
  
  <p>project/plugins.sbt:</p>
  
  <pre><code>// Use the Play sbt plugin for Play projects
  addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.1")
  
  // The Typesafe repository
  resolvers ++= Seq(
    "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
    "Local Maven Repositor" at "file://"+Path.userHome.absolutePath+"/.m2/repository",
    "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases",
    "Public SBT repo" at "https://dl.bintray.com/sbt/sbt-plugin-releases/"
    )
  
  libraryDependencies ++= Seq(
    "com.puppycrawl.tools" % "checkstyle" % "6.8",
    "com.typesafe.play" %% "play-java-ws" % "2.4.1",
    "org.jacoco" % "org.jacoco.core" % "0.7.1.201405082137" artifacts(Artifact("org.jacoco.core", "jar", "jar")),
    "org.jacoco" % "org.jacoco.report" % "0.7.1.201405082137" artifacts(Artifact("org.jacoco.report", "jar", "jar"))
  )
  
  // Plugin for code coverage
  addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.1.6")
  
  // 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>
  
  <p>I have tried adding javaEbean to the myDeps variable, output remains the same.</p>
  
  <p>Also, contrary to all the examples and tutorials, if I want to enable PlayJava, I have to do it via play.PlayJava. What is up with that?</p>