【Scala】Storm関連でeigenbase-propertiesやlinq4jなどがないと言われたら

Facebook にシェア
Pocket
LINEで送る
このエントリーを Google ブックマーク に追加

[shell] at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: net.hydromatic#linq4j;0.4: not found
[error] (*:update) sbt.ResolveException: unresolved dependency: net.hydromatic#linq4j;0.4: not found
[error] unresolved dependency: net.hydromatic#quidem;0.1.1: not found
[error] unresolved dependency: org.pentaho#pentaho-aggdesigner-algorithm;5.1.3-jhyde: not found
[error] unresolved dependency: eigenbase#eigenbase-properties;1.1.4: not found
[error] Total time: 8 s, completed 2016/07/06 18:40:56
[/shell]

などと言われたら、build.sbt の resolvers に https://conjars.org/repo を追加。

[shell title=”build.sbt”] resolvers ++= Seq(
"confluent" at "https://packages.confluent.io/maven/",
"Concurrent Maven Repo" at "https://conjars.org/repo"
)
[/shell]

Javaの場合は、pom.xmlで同じようにすればいい。

[shell title=”pom.xml”] <repository>
<id>conjars</id>
<name>Concurrent Conjars repository</name>
<url>https://conjars.org/repo</url>
<layout>default</layout>
</repository>
[/shell]

依存関係、厳しい。

Related posts

コメントを残す