每次部署到Heroku都会显示不同的错误

时间:2014-01-09 03:10:10

标签: scala heroku playframework-2.2

这些是我的配置文件:

build.properties

sbt.version=0.13.0

Build.sbt

libraryDependencies += "org.scalatest" % "scalatest_2.10" % "2.0" % "test"

libraryDependencies += "org.seleniumhq.selenium" % "selenium-java" % "2.39.0" % "test"

libraryDependencies += "org.mockito" % "mockito-all" % "1.9.5"

resolvers += Classpaths.typesafeResolver

Build.scala

import sbt._
import Keys._
import play.Project._

object ApplicationBuild extends Build {

  val appName         = "library"
  val appVersion      = "1.0-SNAPSHOT"

  val appDependencies = Seq(
    // Add your project dependencies here,
    jdbc,
    anorm,
    cache,
    "postgresql" % "postgresql" % "9.1-901.jdbc4"
  )


  val main = play.Project(appName, appVersion, appDependencies).settings(
    javaOptions in Test += "-Dconfig.file=conf/test.conf"
  )

}

您可以从这些示例中看到the firstsecond部署日志,每当我执行git push to heroku时,它总会抛出不同的错误。

错误总是在这些方面:

  

[warn] :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::   sbt.ResolveException:下载失败:com.typesafe#config; 1.0.2!config.jar(bundle)

  

::::错误   服务器错误:服务不可用url = http://s3pository.heroku.com/ivy-typesafe-releases/org.scala-sbt/main/0.13.0/ivys/ivy.xml

知道发生了什么和可能的解决方法吗?

1 个答案:

答案 0 :(得分:0)

Heroku支持调查后问题已得到解决。他们在S3pository中遇到了一些问题,这是他们的服务,有助于提供构建依赖性。