0

我试图简单地将 Vegas 依赖版本 0.3.11 包含到我的 sbt.build 中,并且依赖似乎未解决

我正在使用 sbt 0.1 版和 scala 2.12 版。智能 2019

我不知道为什么,这里还需要其他依赖项吗?

这是我得到的错误:

module not found: org.vegas-viz#vegas_2.12;0.3.11
[warn] ==== local: tried
C:\Users\squeo\.ivy2\local\org.vegasviz\vegas_2.12\0.3.11\ivys\ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/vegas- 
viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom
[warn] ==== local-preloaded-ivy: tried
[warn]   C:\Users\squeo\.sbt\preloaded\org.vegas- 
viz\vegas_2.12\0.3.11\ivys\ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:/C:/Users/squeo/.sbt/preloaded/org/vegas- 
viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.vegas-viz#vegas_2.12;0.3.11: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Unresolved dependencies path:
[warn]          org.vegas-viz:vegas_2.12:0.3.11 
[warn]            +- networkoptimizer:networkoptimizer_2.12:0.1
[error] sbt.librarymanagement.ResolveException: unresolved dependency: 
org.vegas-viz#vegas_2.12;0.3.11: not found

先感谢您!

4

1 回答 1

1

这里的问题是您使用的依赖项仅适用于 scala 2.11。

scala 2.12 没有 Vegas 依赖项。正如你在下面看到的

mvn

于 2019-05-07T14:29:23.947 回答