2016-10-24 44 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

工作正常。