无法在OSX平台上使用activator下载sbt-plugin 2.5.4

时间:2016-12-06 07:46:24

标签: scala playframework typesafe-activator

我在Ubuntu工作但是,

我似乎无法在我的mac OS sierra中编译play scala项目。我手动安装activator-dist-1.3.12并在/ etc / paths中添加激活器bin的路径。

我收到了这个错误:

@section('content')
    <h3>{{ $width }}</h3>
@stop

1 个答案:

答案 0 :(得分:1)

我不确定您是否能够在干净的Ubuntu上(或清理SBT缓存后)构建此项目。 https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/sbt-plugin/scala_2.10/sbt_0.13/2.5.4/ivys/ivy.xml不存在,您可以在https://dl.bintray.com/typesafe/maven-releases/com/typesafe/play/上查看结构,是https://repo.typesafe.com重定向到https://dl.bintray.com

所以sbt-plugin现在在https://dl.bintray.com/playframework/sbt-plugin-releases/com.typesafe.play/sbt-plugin/scala_2.10/sbt_0.13/2.5.4/ivys/ivy.xml。它看起来像The official documentation not yet fixed

我建议你使用Binatry回购(它对我有用)

resolvers += Resolver.bintrayRepo("owner", "repo")

// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.4")