当我尝试运行sbt时,我收到以下消息:
[warn] com.typesafe.sbteclipse:sbteclipse-plugin:2.1.0-M2(sbtVersion = 0 .12,scalaVersion = 2.9.2) [警告] sbt.ResolveException:未解析的依赖项:com.typesafe.sbteclipse #sbteclipse- 插件; 2.1.0-M2:未找到
我正在运行sbt 0.12.3。如果我需要在这个插件中使用早期版本的sbt,我不知道如何找到它们。该网站似乎没有列出安装的sbt 0.12。
我的插件文件说: addSbtPlugin(“com.typesafe.sbteclipse”%“sbteclipse-plugin”%“2.1.0-M2”)
答案 0 :(得分:1)
好。我解决了自己的问题。我的plugins.sbt文件说: addSbtPlugin(“com.typesafe.sbteclipse”%“sbteclipse-plugin”%“2.1.0-M2”)
我把它改为: addSbtPlugin(“com.typesafe.sbteclipse”%“sbteclipse-plugin”%“2.1.2”)