未解决的依赖项路径org.vegas-viz:vegas_2.12:0.3.11

时间:2019-05-04 01:27:25

标签: scala intellij-idea vegas-viz

我已经尝试将拉斯维加斯依赖版本0.3.11包含在我的sbt.build中,但依赖关系似乎尚未解决

我正在使用sbt版本0.1和scala版本2.12。 Intellij 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

提前谢谢!

1 个答案:

答案 0 :(得分:0)

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

scala 2.12没有Vegas依赖。如您所见

mvn