本文介绍了Play Framework 2.4.3 中对 org.scalaz.stream 的依赖未解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在 IntelliJ 15.0.1 中创建新的 Scala (v2.11) Play (v2.4.3) 项目时,出现以下异常:

When trying to create a new Scala (v2.11) Play (v2.4.3) project in IntelliJ 15.0.1 I get the following exception:

sbt.ResolveException: unresolved dependency: org.scalaz.stream#scalaz-stream_2.11;0.7a: not found

我在 sbt.last.log 中看到:

I see this in sbt.last.log:

[warn]  module not found: org.scalaz.stream#scalaz-stream_2.11;0.7a
[warn] ==== local: tried
[warn]   C:\Users\brian\.ivy2\local\org.scalaz.stream\scalaz-stream_2.11\0.7a\ivys\ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/org/scalaz/stream/scalaz-stream_2.11/0.7a/scalaz-stream_2.11-0.7a.pom

IntelliJ Scala 插件版本为 2.0.3.

IntelliJ Scala plugin version is 2.0.3.

推荐答案

要解决依赖项,请将以下行添加到 build.sbt:

To resolve the dependency add the following line to build.sbt:

resolvers += "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases"

这篇关于Play Framework 2.4.3 中对 org.scalaz.stream 的依赖未解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 07:15