0
Play应用程序更新运行构建/运行良好但局部推到的Heroku(迁移到cedar-14后)与失败的以下内容:播放2.2.2 Heroku的部署HttpClient的; 4.0.1下载失败
[error] (*:update) sbt.ResolveException: download failed: org.apache.httpcomponents#httpclient;4.0.1!httpclient.jar
浏览后我尝试了以下方法来解决此问题,但没有任何运气: 将sbt.version设置为0.13.5
该问题似乎出现在Heroku自己的构建过程中。
任何有关这个问题的帮助将不胜感激。
DUMP:
remote: [info] [SUCCESSFUL ] org.scala-lang#jline;2.10.3!jline.jar (11ms)
remote: [warn] ::::::::::::::::::::::::::::::::::::::::::::::
remote: [warn] :: FAILED DOWNLOADS ::
remote: [warn] ::^see resolution messages for details^::
remote: [warn] ::::::::::::::::::::::::::::::::::::::::::::::
remote: [warn] :: org.apache.httpcomponents#httpclient;4.0.1!httpclient.jar
remote: [warn] ::::::::::::::::::::::::::::::::::::::::::::::
remote: sbt.ResolveException: download failed: org.apache.httpcomponents#httpclient;4.0.1!httpclient.jar
Build.sbt
name := "jmpdb"
version := "1.0-SNAPSHOT"
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
"mysql" % "mysql-connector-java" % "5.1.18",
"org.mindrot" % "jbcrypt" % "0.3m",
"com.thoughtworks.xstream" % "xstream" % "1.4.7",
"org.apache.velocity" % "velocity" % "1.7",
"commons-lang" % "commons-lang" % "2.6",
"com.google.api-client" % "google-api-client" % "1.12.0-beta",
"com.google.http-client" % "google-http-client-jackson" % "1.12.0-beta",
"com.google.oauth-client" % "google-oauth-client" % "1.12.0-beta",
"com.google.apis" % "google-api-services-drive" % "v2-rev30-1.12.0-beta",
"com.google.apis" % "google-api-services-oauth2" % "v2-rev25-1.12.0-beta",
"org.json" % "json" % "20080701",
"org.reflections" % "reflections" % "0.9.8",
"com.ecwid" % "ecwid-mailchimp" % "1.3.0.7",
"com.typesafe" %% "play-plugins-mailer" % "2.1.0"
)
resolvers += "jBCrypt Repository" at "http://repo1.maven.org/maven2/org/"
resolvers += "google-api-services" at "http://google-api-client-libraries.appspot.com/mavenrepo"
resolvers := Seq("typesafe" at "http://repo.typesafe.com/typesafe/repo")
// Only needed in development
javaOptions ++= Seq("-Xmx512M", "-Xmx2048M", "-XX:MaxPermSize=2048M")
play.Project.playJavaSettings
Plugins.sbt
// Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.2")
这似乎是您的解析器配置问题。你可以在'project /'下分享你的'build.sbt'和任何'.sbt'文件的内容吗? – codefinger
另外,你可能想尝试通过删除你的ivy2和m2本地缓存,然后运行'sbt clean stage'来在本地再现。 – codefinger
@codefinger用sbt文件编辑了这个问题。按照您的建议,我会尝试在本地重新制作。 – afxdesign