我应该怎么做才能导入缓存,ws,jdbc和specs2%测试

马诺伊·拉马斯瓦米(Manoj S Ramaswamy)

我正在将我的项目从播放2.4.3升级到2.5.0

我已经在plugin.sbt文件中添加了用于播放2.5.0的sbt插件,如下所示

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

在我编译代码时添加后,它会抛出错误说明

[info] Loading project definition from /Users/ege/Sites/Aeione/greenroom6-services-v3/greenroom6-services-v3/project
[info] Compiling 1 Scala source to /Users/ege/Sites/Aeione/greenroom6-services-v3/greenroom6-services-v3/project/target/scala-2.10/sbt-0.13/classes...
[error] /Users/ege/Sites/Aeione/greenroom6-services-v3/greenroom6-services-v3/project/Common.scala:4: object PlayScala is not a member of package play
[error] import play.PlayScala
[error]        ^
[error] /Users/ege/Sites/Aeione/greenroom6-services-v3/greenroom6-services-v3/project/Common.scala:49: not found: value jdbc
[error]     jdbc,
[error]     ^
[error] /Users/ege/Sites/Aeione/greenroom6-services-v3/greenroom6-services-v3/project/Common.scala:50: not found: value cache
[error]     cache,
[error]     ^
[error] /Users/ege/Sites/Aeione/greenroom6-services-v3/greenroom6-services-v3/project/Common.scala:51: not found: value ws
[error]     ws,
[error]     ^
[error] /Users/ege/Sites/Aeione/greenroom6-services-v3/greenroom6-services-v3/project/Common.scala:52: not found: value specs2
[error]     specs2 % Test,
[error]     ^
[error] 5 errors found
[error] (compile:compileIncremental) Compilation failed

谁能帮我导入这些依赖项?

mes

我认为您的输入错误。根据文档,它应该是:

import sbt._
import Keys._
import play.sbt._
import Play.autoImport._
import PlayKeys._

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

我应该怎么做才能从集群缓存对等体引导缓存?

我应该怎么做才能优化我的慢跑性能?

我应该怎么做才能看到静态和动态绑定在起作用?[C ++]

我应该怎么做才能解决这个 cv2 错误?

我的崇高感不认@import。我应该怎么做才能通过sass导入另一个CSS?

我应该怎么做才能使用 express-jwt 访问我的静态资源?

我应该怎么做才能使我的容器使用范围?

我应该怎么做才能让我的盒子水平对齐?

我应该怎么做才能在游戏中获得更好的FPS

我应该怎么做才能找到指向Confluence用户家的超链接?

我应该怎么做才能避免服务层方法中的代码重复?

我应该怎么做才能在Java中使用ELement类

我应该怎么做才能在WebStorm的.ts文件中解析“角度”

我应该怎么做才能最大程度地利用Nvidia GeForce FX 5500显卡?

我应该怎么做才能在 Octave 上绘制小波?

我应该怎么做才能发布 React Native Expo App?

我应该怎么做才能为 React Native CLI 应用程序创建 Android Build?

我应该怎么做才能获得列格式的数学表

我应该怎么做才能使它显示变量而不是值?

我应该怎么做才能让GC释放OCaml中未使用的内存?

应用程序进入applicationDidEnterBackground后,我们应该怎么做才能运行NSoperationqueue?

我应该怎么做才能避免在MySQL中出现错误1136?

干净的代码 - 我应该怎么做才能避免传递两个参数

我应该怎么做才能在 django rest 框架中的代码中发布多个内容?

我应该怎么做才能初始化结构数组

我应该怎么做才能用Highchart将图形的x轴加粗?

X Windows字体路径错误发生。我应该怎么做才能编译?

我应该怎么做才能在 tableView 中加载异步图像?

我应该怎么做才能在WebAPI中返回一对多列表?