Play 2 not able to find xml-apis-1.0.b2.jar failed

2019-08-10 12:27发布

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

1条回答
ゆ 、 Hurt°
2楼-- · 2019-08-10 13:13

Try adding the line

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

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

查看更多
登录 后发表回答