我使用Typesafe激活器构建了应用程序,在IntelliJ IDEA 15.0.2中使用Play 2.5.0-M1(激活器)导入/打开它时...
SBT project import
[warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version:
[warn] * org.apache.httpcomponents:httpclient:(4.0.1, 4.3.4)
[warn] * com.google.guava:guava:(18.0, 16.0.1)
[warn] * org.apache.httpcomponents:httpcore:(4.0.1, 4.3.2)
[warn] * commons-logging:commons-logging:(1.1.1, 1.1.3)
[warn] * org.scala-lang.modules:scala-parser-combinators_2.11:(1.0.1, 1.0.3)
[warn] * org.scala-lang.modules:scala-xml_2.11:(1.0.1, 1.0.3)
[SBT project import conflict][1]
我应该对项目或IntelliJ IDEA配置进行哪些更改?
您可以尝试dependencyOverrides键来确切指定要使用的版本。这将关闭警告。
http://www.scala-sbt.org/0.13/docs/Library-Management.html#Overriding+a+version
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句