播放2.3收到DefaultReads的不兼容错误 [英] Play 2.3 got incompatible errors for DefaultReads

查看:168
本文介绍了播放2.3收到DefaultReads的不兼容错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将播放方式从2.2更新到2.3,但是由于抱怨DefaultReads不兼容,我遇到了一些错误.

I am trying to update play to 2.3 from 2.2, but I got several errors complaining about DefaultReads incompatible.

[error] Could not access term time in package java,
[error] because it (or its dependencies) are missing. Check your build definition for
[error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
[error] A full rebuild may help if 'DefaultReads.class' was compiled against an incompatible version of java.
[error]       (jsObj \ "items").asOpt[JsArray] match {

推荐答案

问题是播放缓存依赖性.我不应该使用最新的.在我使用与Play版本匹配的版本后,它就可以使用.

The problem is play-cache dependency. I shouldn't use the latest one. After I use the one matched with Play version, it works.

"com.typesafe.play"%"play-cache_2.11"%"2.3.8"

"com.typesafe.play" % "play-cache_2.11" % "2.3.8"

这篇关于播放2.3收到DefaultReads的不兼容错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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