1

我刚开始使用 Play 2 和 Heroku,但是当我尝试部署应用程序时出现错误。我尝试进行 sbt clean 编译,这就是我得到的:

Marcelos-MacBook-Pro:guzmanenergy marcelo$ sbt clean compile
Marcelos-MacBook-Pro:guzmanenergy marcelo$ sbt clean compile
[info] Loading project definition from /projects/guzmanenergy/project
[warn]  [NOT FOUND  ] xml-apis#xml-apis;1.0.b2!xml-apis.jar (146ms)
[warn] ==== Typesafe repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::              FAILED DOWNLOADS            ::
[warn]  :: ^ see resolution messages for details  ^ ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: xml-apis#xml-apis;1.0.b2!xml-apis.jar
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/projects/guzmanenergy/project/}default-de2d7b/*:update: sbt.ResolveException: download failed: xml-apis#xml-apis;1.0.b2!xml-apis.ja
4

1 回答 1

2

尝试添加行

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/repo1/"

到你的 project/plugins.sbt 文件。确保每条线之间有一条白线,查看指南以获取更多信息

于 2013-02-05T22:12:08.683 回答