【问题标题】:scalatra issue when running ./sbt: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found运行 ./sbt 时的 scalatra 问题:sbt.ResolveException:未解决的依赖项:com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1:未找到
【发布时间】:2013-09-30 17:24:48
【问题描述】:

在将addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.1") 添加到project/plugins.sbt 之后,我尝试通过运行./sbt eclipse 来为我的项目添加eclipse 支持。

我收到此错误消息

[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found

我使用最简单的模板通过 g8 创建了项目。我正在尝试添加 Eclipse 支持

[编辑:sbt 版本]

Detected sbt version 0.13.0
Starting sbt: invoke with -help for other options
Using /Users/andre/.sbt/0.13.0 as sbt dir, -sbt-dir to override.

【问题讨论】:

  • 请在您的问题中添加您正在使用的 sbt 版本。插件的正确版本取决于您使用的版本。

标签: scala sbt scalatra


【解决方案1】:

您使用的是哪个版本的 sbt? typesafehub/sbteclipse 表示 sbt 0.13 的最新版本是 2.3.0,sbt 0.12 的最新版本是 2.2.0。

【讨论】:

  • 然后尝试 sbteclipse-plugin 2.3.0。
  • addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.3.0") 工作。
猜你喜欢
  • 2016-03-21
  • 2016-05-03
  • 1970-01-01
  • 1970-01-01
  • 2020-11-08
  • 2019-05-25
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多