未解决依赖关系的新游戏2.0 scala项目 [英] Unresolved Dependencies for a new play 2.0 scala project

查看:147
本文介绍了未解决依赖关系的新游戏2.0 scala项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



(新的scala项目) - >code> cd todo - >播放依赖关系我得到这个一个未解决的依赖 org.slf4j:slf4j-api :1.6.1 net.sf.ehcache:ehcache-core:2.5.0,org.hibernate:hibernate-validator:4.2.0.Final,play:play_2.9.1:2.0reason实际上已经有一个 org.slf4j:slf4j-api:1.6.4 在解决的依赖关系中。



我尝试了不同的东西,没有任何工作。似乎在互联网中只有一个人这里谁有同样的问题,但他解决的方式对我来说无效。



我还尝试了AUR存储库中的play框架版本(我正在使用Archlinux),但是我还有其他更复杂的问题,所以我返回到已经有人从官方网站下载rsion。



有没有人有任何提示如何解决这个依赖问题?

解决方案

错误指出,org.slf4j:slf4j-api:1.6.1是必需的。



slf4j:slf4j-api:1.6.4,这当然不一样(即1.6.1不是1.6.4)



干杯


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?

解决方案

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

这篇关于未解决依赖关系的新游戏2.0 scala项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆