2016-10-24 176 views
0

越來越 error] Modules were resolved with conflicting cross-version suffixes in {file:/hehe/}my-app: [error] com.fasterxml.jackson.module:jackson-module-scala _2.11, _2.10 期間sbt clean compileSBT,解決模塊是相互衝突的跨版本後綴

要排除的2.10,並使用2.11解析沒有幫助。錯誤是一樣的。

有沒有機會解決它?

我見過各種SO QA像Conflicting cross-version suffixes in: org.scalamacros:quasiquotes導致https://github.com/cleverage/play2-elasticsearch/issues/49

它不工作對我來說,我無法找出原因。

回答

0

啊,對不起,我是盲人。 ("com.my.company" % "has-bad-dependency" % "latest.integration").exclude("com.fasterxml.jackson.module", "jackson-module-scala_2.10"),

的artifactId是錯誤的,它沒有_2.10

工作正常。