Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Play 2.2.2/com.typesafe.Play#Play#u 2.10;2.2.2:在Heroku上找不到_Heroku_Sbt_Playframework 2.2 - Fatal编程技术网

Play 2.2.2/com.typesafe.Play#Play#u 2.10;2.2.2:在Heroku上找不到

Play 2.2.2/com.typesafe.Play#Play#u 2.10;2.2.2:在Heroku上找不到,heroku,sbt,playframework-2.2,Heroku,Sbt,Playframework 2.2,所有这些都与游戏2.2.1配合得很好。 但是,当升级到Play 2.2.2并部署到Heroku时,流程会发出以下警告: 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 d

所有这些都与游戏2.2.1配合得很好。 但是,当升级到Play 2.2.2并部署到Heroku时,流程会发出以下警告:

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
我不明白为什么..我只是将plugins.sbt更新为:

// 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
并将sbt升级为0.13.0


这个依赖项不应该在Build.scala上没有显式设置的情况下下载吗?

好的,所以我在我的
解析器+=
系列之前添加了这一行:

resolvers := Seq("typesafe" at "http://repo.typesafe.com/typesafe/releases/")
如果它能帮助一些遇到同样问题的人:)