Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/scala/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
运行时scalatra问题。/sbt:sbt.ResolveException:未解析的依赖项:com.typesafe.sbteclipse#sbteclipse插件;2.1.1:未找到_Scala_Sbt_Scalatra - Fatal编程技术网

运行时scalatra问题。/sbt:sbt.ResolveException:未解析的依赖项:com.typesafe.sbteclipse#sbteclipse插件;2.1.1:未找到

运行时scalatra问题。/sbt:sbt.ResolveException:未解析的依赖项:com.typesafe.sbteclipse#sbteclipse插件;2.1.1:未找到,scala,sbt,scalatra,Scala,Sbt,Scalatra,我试图通过在添加addSbtPlugin(“com.typesafe.sbteclipse“%”sbteclipse plugin“%”2.1.1“)之后运行/sbt eclipse向我的项目添加eclipse支持 我收到了这个错误消息 [error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found 我用最简单的模

我试图通过在添加
addSbtPlugin(“com.typesafe.sbteclipse“%”sbteclipse plugin“%”2.1.1“)之后运行
/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?表示sbt 0.13的最新版本为2.3.0,sbt 0.12的最新版本为2.2.0。

请添加您在问题中使用的sbt版本。插件的正确版本取决于您使用的版本。请尝试使用sbteclipse插件2.3.0。
addSbtPlugin(“com.typesafe.sbteclipse“%”sbteclipse插件“%”2.3.0”)