2016-04-14 26 views
1

我已經下載了最新版本的激活劑(1.3.9),並試圖獲得Lagom項目和使用本指南運行(http://www.lagomframework.com/documentation/1.0.x/GettingStarted.htmlsbtEclipse給錯誤

我有一個新lagom的Java項目(使用activator new命令)。我能夠在項目目錄中成功運行activator命令,但是當我嘗試在激活控制檯中運行eclipse時,出現以下錯誤。

java.lang.IllegalStateException: Undefined setting 'eclipseSkipProject in Scope(Select(ProjectRef(file:/C:/code/microservices/first-ms/,lagom-internal-meta-project-service-locator)),This,This,This)'! 

我在 '項目/ eclipse.sbt' 以下條目:

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")

而且在項目中的以下/ plugins.sbt:

addSbtPlugin("com.lightbend.lagom" % "lagom-sbt-plugin" % "1.0.0-M1") 
    addSbtPlugin("com.typesafe.sbt" % "sbt-lagom-bundle" % "1.0.2") 
    addSbtPlugin("com.typesafe.conductr" % "sbt-conductr-sandbox" % "1.4.2") 

我知道, 'lagom-internal-meta-project-service-locator'是一個內部項目,不會被導入到eclipse中,但不確定它從哪裏獲取eclipseSkipProject設置,因爲我沒有defi ned'skipProject'在build.sbt的任何地方。

因爲我只是用lagom的默認設置運行,我認爲它應該是開箱即用的。這裏有什麼可能是錯的?

回答