Unresolved Dependencies for a new play 2.0 scala project

守給你的承諾、 提交于 2019-12-19 11:43:20

问题


Good day,

After "play new todo" (new scala project) -> "cd todo" -> "play dependencies" I get this one unresolved dependency "org.slf4j:slf4j-api:1.6.1 required by "net.sf.ehcache:ehcache-core:2.5.0, org.hibernate:hibernate-validator:4.2.0.Final, play:play_2.9.1:2.0" reason "Evicted by 1.6.4".

Actually there is already org.slf4j:slf4j-api:1.6.4 in resolved dependencies.

I tried different things, nothing worked. It seems that in the internets there is only one guy here who have the same problem, but the way he solved it didn't work for me.

I also tried the version of play framework that is in the AUR repository (I'm using Archlinux), but then I had other, even more complicated, problems, so I returned to the version downloaded from the official site.

Do anyone have any hint about how to solve this dependency problem?


回答1:


The error states, "org.slf4j:slf4j-api:1.6.1" is required.

You have "org.slf4j:slf4j-api:1.6.4", which is, of course, not the same (i.e. 1.6.1 is not 1.6.4)

Cheers



来源:https://stackoverflow.com/questions/9989449/unresolved-dependencies-for-a-new-play-2-0-scala-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!