使用play-swagger-service模板的Scala版本问题

时间:2016-10-04 17:35:12

标签: playframework swagger-2.0

我是Play Framework的新手。我正在实现REST API,并希望安装Swagger Ui。我的激活器版本是typesafe-activator-1.3.10。

我使用play-swagger-service模板创建了我的项目,它有启动问题:

[info] Done updating.
[warn] Scala version was updated by one of library dependencies:
[warn]  * org.scala-lang:scala-library:(2.11.7, 2.11.0, 2.11.6) -> 2.11.8
[warn] To force scalaVersion, add the following:
[warn]  ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn]  * com.fasterxml.jackson.module:jackson-module-scala_2.11:2.6.1 -> 2.7.4
[warn] Run 'evicted' to see detailed eviction warnings

我设置了scalaVersion:=" 2.11.8"在build.sbt中,我遇到了更多错误。

如何解决依赖项问题?

我正在使用Java,这有什么不同吗?

谢谢!

0 个答案:

没有答案