Sbt在迁移到Play之后逐出库2.5.2

问题描述:

我刚将项目迁移到Play 2.5.2(从2.4.6开始)。但是,当我运行sbt更新时,我收到以下警告:Sbt在迁移到Play之后逐出库2.5.2

[warn] There may be incompatibilities among your library dependencies. 
[warn] Here are some of the libraries that were evicted: 
[warn] * com.typesafe.play:play-cache_2.11:2.4.6 -> 2.5.2 
[warn] * com.typesafe.play:play-ws_2.11:2.4.6 -> 2.5.2 
[warn] * com.typesafe.play:play-netty-server_2.11:2.4.6 -> 2.5.2 
[warn] * com.typesafe.play:play-server_2.11:2.4.6 -> 2.5.2 
[warn] * com.typesafe.play:twirl-api_2.11:1.0.0 -> 1.1.1 

我不知道该怎么办才能解决它。

您可能有一个依赖项(例如在您的build.sbt中),它明确依赖于Play 2.4.6。您可以尝试评论其他依赖关系,找出导致此问题的原因。

我有同样的问题,我相信,是由旧版本play2-reactivemongo造成的。