eclipse - 为什么 "activator eclipse"在新项目中会产生 "Not a valid project ID: eclipse"?

标签 eclipse playframework typesafe-activator playframework-2.4

我刚刚使用 activator new 创建了一个新项目,现在尝试使用 activator eclipse 使其黯然失色。但我面临一个问题:

D:\work\firebase>activator eclipse
[info] Loading project definition from D:\work\firebase\project
[info] Set current project to firebase (in build file:/D:/work/firebase/)
[error] Not a valid command: eclipse (similar: help, alias)
[error] Not a valid project ID: eclipse
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: eclipse (similar: deliver, licenses, clean)
[error] eclipse
[error]        ^

我正在使用 Typesafe Activator 1.3.2

最佳答案

将此部分附加到您的 plugins.sbt 文件中:

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

Play no longer includes the sbteclipse or sbt-idea plugins, which enables users to upgrade IDE support independently of Play.

Source

关于eclipse - 为什么 "activator eclipse"在新项目中会产生 "Not a valid project ID: eclipse"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31184818/

相关文章:

java - Eclipse 不以 Debug模式启动 tomcat-7 服务器

scala - 如何验证 Play Framework 中的可选查询参数?

java - 尝试渲染 pdf 时获取此 "org.xhtmlrenderer.render.BlockBox cannot be cast to org.xhtmlrenderer.newtable.TableBox"

java - 管理 Play 中的页面流量!框架标签

java - 如何在 Play 中组织 java 和 scala 代码?

java - 如何在eclipse中为java代码添加快捷键

java - 在 JAR 的同一文件夹中进行 java 日志记录

java - Eclipse 生成的方法参数具有不合理的名称

intellij-idea - Play Framework 2.4 和 IntelliJ Idea

scala - 在 IntelliJ Idea 14 上玩 Activator 问题