将项目升级到 Play Framework 2.2.0 版 [英] Upgrading project to version 2.2.0 of the Play Framework

查看:28
本文介绍了将项目升级到 Play Framework 2.2.0 版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将播放项目升级到 2.2.0 时出现以下错误:

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

推荐答案

在 project/plugin.sbt 中编辑以下行:

Edit the following line in project/plugin.sbt:

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

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

确保您在 build.properties 中有正确版本的 sbt:

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

sbt.version=0.13.0

这篇关于将项目升级到 Play Framework 2.2.0 版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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