Upgrading project to version 2.2.0 of the Play Framework

前端 未结 3 522
傲寒
傲寒 2021-01-07 21:57

When upgrading a play project to 2.2.0 the following error comes up:

sbt.ResolveException: unresolved dependency: play#sbt-plugin;2.2.0: not found

3条回答
  •  北海茫月
    2021-01-07 22:37

    Edit the following line in project/plugin.sbt:

    addSbtPlugin("play" % "sbt-plugin" % "2.2.0")
    

    to

    addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.0")
    

    Make sure you have the correct version of sbt in build.properties:

    sbt.version=0.13.0
    

提交回复
热议问题