Play 2.2.2 / com.typesafe.play#play_2.10;2.2.2: not found on Heroku

谁都会走 提交于 2019-12-20 04:12:53

问题


All works well with Play 2.2.1. However, when upgrading to Play 2.2.2 and deploying to Heroku, process warns about:

sbt.ResolveException: unresolved dependency: com.typesafe.play#play_2.10;2.2.2: not found
       unresolved dependency: com.typesafe.play#play-cache_2.10;2.2.2: not found
       unresolved dependency: com.typesafe.play#filters-helpers_2.10;2.2.2: not found
       unresolved dependency: com.typesafe.play#play-test_2.10;2.2.2: not found
       unresolved dependency: com.typesafe.play#play-docs_2.10;2.2.2: not found

I don't figure out why..I just updated the plugins.sbt to:

// 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") //just added 2.2.2 instead of 2.2.1

and upgraded sbt to 0.13.0.

Shouldn't this dependency be downloaded without explicit set on the Build.scala?


回答1:


Ok so I managed to do the trick by adding this line, before my series of resolvers +=:

resolvers := Seq("typesafe" at "http://repo.typesafe.com/typesafe/releases/")

If it can help some people coming across the same issue :)



来源:https://stackoverflow.com/questions/23157135/play-2-2-2-com-typesafe-playplay-2-102-2-2-not-found-on-heroku

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!