播放2无法找到xml-apis-1.0.b2.jar下载失败 [英] Play 2 not able to find xml-apis-1.0.b2.jar failed download

查看:115
本文介绍了播放2无法找到xml-apis-1.0.b2.jar下载失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I just started working with Play 2 and Heroku, but when I tried to deployed the application I got an error. I tried doing an sbt clean compile and this is what I got:

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

推荐答案

尝试添加该行

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

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

to your project/plugins.sbt file. Make sure there is a white line between every line, check the guide for more info

这篇关于播放2无法找到xml-apis-1.0.b2.jar下载失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆