[英]Unresolved dependency SBT, scalariform
I am receiving this compilation error: 我收到此编译错误:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbt#sbt-scalariform;1.3.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.sbt:sbt-scalariform:1.3.0 (scalaVersion=2.11, sbtVersion=0.13)
[warn]
In the root of my project I have a build.sbt file: 在我的项目的根目录中,有一个build.sbt文件:
scalaVersion in ThisBuild := "2.11.6"
I also have a core/build.sbt file with several resolvers, libraryDependencies, and exclusions. 我也有一个core / build.sbt文件,其中包含几个解析程序,libraryDependencies和排除项。
project/plugins.sbt : project / plugins.sbt :
addSbtPlugin(...)
resolvers += "Typesafe Public Repo" at "http://repo.typesafe.com/typesafe/releases"
resolvers += "JBoss Repository" at "http://repository.jboss.org/nexus/content/groups/public//"
~/.sbt/0.13/global.sbt 〜/ .sbt / 0.13 / global.sbt
scalaVersion := "2.11.6"
You need to remove scalaVersion := "2.11.6"
from ~/.sbt/0.13/global.sbt
. 您需要从
~/.sbt/0.13/global.sbt
删除scalaVersion := "2.11.6"
。
In sbt 0.13, sbt and its ecosystem of plugins is current using Scala 2.10. 在sbt 0.13中,sbt及其插件生态系统当前使用的是Scala 2.10。
The sbt-scalariform changed the groupId/organization sbt-scalariform更改了groupId / organization
1.3.0
- "com.typesafe.sbt" % "sbt-scalariform" % "1.3.0"
1.3.0
- "com.typesafe.sbt" % "sbt-scalariform" % "1.3.0"
1.4.0
, 1.5.0
, ... , 1.8.2
- "org.scalariform" % "sbt-scalariform" & "1.8.2"
1.4.0
, 1.5.0
,..., 1.8.2
- "org.scalariform" % "sbt-scalariform" & "1.8.2"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.