gpt4 book ai didi

java - Sbt 包管理器未在 Heroku 解析

转载 作者:行者123 更新时间:2023-11-29 09:03:43 25 4
gpt4 key购买 nike

大家好,我正在尝试将新的 bonecp 版本添加到我在 heroku 的 play framework 2.0.4 应用程序中,但我得到了

[info] downloading http://oss.sonatype.org/content/groups/public/com/jolbox/bonecp/0.8.0-rc2-SNAPSHOT/bonecp-0.8.0-rc2-20130128.135547-1.jar ...
[info] [SUCCESSFUL ] com.jolbox#bonecp;0.8.0-rc2-SNAPSHOT!bonecp.jar(bundle) (367ms)
[warn] [NOT FOUND ] com.google.guava#guava;13.0.1!guava.jar (10ms)
[warn] ==== Typesafe Releases Repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/google/guava/guava/13.0.1/guava-13.0.1.jar
[info] downloading http://repo.typesafe.com/typesafe/releases/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.jar ...
[info] [SUCCESSFUL ] org.slf4j#slf4j-api;1.7.2!slf4j-api.jar (60ms)
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.google.guava#guava;13.0.1!guava.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/tmp/build_16vgl6xi6x33j/}theapp/*:update: sbt.ResolveException: download failed: com.google.guava#guava;13.0.1!guava.jar
[error] Total time: 8 s, completed Apr 19, 2013 10:37:35 AM
! Failed to build app with sbt
! Heroku push rejected, failed to compile Play 2.x - java app

它似乎无法在 typesafe 中找到 google guava。

我在本地工作,但不在 heroku。解析器可能有问题,但我不知道是什么。

这是我的 Build.scala 配置:

val appDependencies = Seq(
"com.google.api.client" % "google-api-data-youtube-v2" % "1.0.6-alpha",
"com.google.gdata" % "core" % "1.47.1",
"org.apache.commons" % "commons-io" % "1.3.2",
"org.reflections" % "reflections" % "0.9.8",
"mysql" % "mysql-connector-java" % "5.1.24",
"org.scribe" % "scribe" % "1.3.2",
"com.github.mumoshu" %% "play2-memcached" % "0.2.3-SNAPSHOT",
"com.amazonaws" % "aws-java-sdk" % "1.3.11",
"com.google.code.gson" % "gson" % "2.2.2",
"com.rabbitmq" % "amqp-client" % "2.8.7",
"com.google.javascript" % "closure-compiler" % "rr2079.1",
"com.restfb" % "restfb" % "1.6.11",
"com.typesafe" %% "play-plugins-mailer" % "2.0.4",
"com.jolbox" % "bonecp" % "0.8.0-rc2-SNAPSHOT"
)

val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
resolvers += "Sonatype OSS Snapshots Repository" at "http://oss.sonatype.org/content/groups/public",
resolvers += "Spy Repository" at "http://files.couchbase.com/maven2" // required to resolve `spymemcached`, the plugin's dependency.
)

感谢您的帮助!

最佳答案

现在可以修复了。几个小时前它对我失败了,但现在可以了

关于java - Sbt 包管理器未在 Heroku 解析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16103129/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com