迁移到Play 2.5.2后,撤销库

时间:2016-04-25 07:58:43

标签: playframework

我刚将我的项目迁移到Play 2.5.2(从2.4.6开始)。但是,当我运行sbt update时,我收到了以下警告:

[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

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

1 个答案:

答案 0 :(得分:1)

您可能具有依赖于Play 2.4.6的依赖关系(例如,在您的build.sbt中)。您可以尝试注释掉其他依赖项,以找出导致此问题的依赖项。

我遇到了同样的问题,我认为这是由较早版本的play2-reactivemongo造成的。