Iteratee不是包play.api.libs的成员

时间:2017-11-30 22:10:39

标签: scala playframework sbt

play 2.4 -> 2.5升级时遇到问题

Symbol 'type <none>.iteratee.Iteratee' is missing from the classpath

我查看了迁移指南,并将依赖项"com.typesafe.play" % "play-iteratees_2.11" % 2.5.18包含在sbt中。在新的播放迭代repo中,我的印象是package play.api.libs.iteratee是我要找到要导入的内容。但它似乎没有用?

错误日志:

[error] /Users/arnogau/Documents/alice/common/src/main/scala/common/util/Autodesk.scala:23: object iteratee is not a member of package play.api.libs
[error] import play.api.libs.iteratee.Iteratee
[error]                      ^
[error] /Users/arnogau/Documents/alice/common/src/main/scala/common/util/Autodesk.scala:158: Symbol 'type <none>.iteratee.Iteratee' is missing from the classpath.
[error] This symbol is required by 'method play.api.libs.ws.WSRequest.get'.
[error] Make sure that type Iteratee is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
[error] A full rebuild may help if 'WSRequest.class' was compiled against an incompatible version of <none>.iteratee.
[error]     val req = client.url(MANIFEST_URL(urn)).withToken(token).get()
[error]                                                       ^
[error] two errors found

0 个答案:

没有答案