首页 文章

sbtEclipse给lagom项目带来错误

提问于
浏览
1

我已经下载了最新版本的激活器(1.3.9),并尝试使用此指南启动并运行Lagom项目(http://www.lagomframework.com/documentation/1.0.x/GettingStarted.html

我有一个新的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)'!

我在'project / eclipse.sbt'中有以下条目:

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

以及project / 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设置,因为我没有在构建中定义'skipProject' . 什么地方 .

由于我只是运行默认设置的lagom,我认为它应该开箱即用 . 这可能有什么问题?

1 回答

相关问题