Skip to content

Instantly share code, notes, and snippets.

@j5ik2o
Created May 9, 2012 09:14
Show Gist options
  • Save j5ik2o/2643205 to your computer and use it in GitHub Desktop.
Save j5ik2o/2643205 to your computer and use it in GitHub Desktop.
Play2.0.1のプロジェクトがIntelliJでビルドできない

Play 2.0.1で

$ play idea

もしくは

$ sbt gen-idea

を実行したプロジェクトをIntelliJでビルドすると以下のようなエラーが発生する。

class file needed by Future is missing.
reference type Future of object akka.dispatch.japi refers to nonexisting symbol.
one error found

$ play compile $ sbt compile

では問題なくビルド可能。

// Use the Play sbt plugin for Play projects
addSbtPlugin("play" % "sbt-plugin" % "2.0.1")

のバージョンを2.0に戻して IntelliJプロジェクトを生成しなおしてビルドするとビルドが通る。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment