web-dev-qa-db-ja.com

モジュールが見つかりません:com.eed3si9n#sbt-Assembly; 0.14.3

私はscalaにかなり慣れており、スパークするためにコードを合計する必要があります。Eclipseを介してコードを.jarに圧縮しようとしましたが、多くの依存関係があるので、 tはうまく機能します。そのため、いくつかの調査の後、Assemblyプラグインでsbtを見つけました。sbt(apt-get 1.0.4のデフォルトバージョン)をインストールし、この組織を私のフォルダーに作成しました:

- RootFolder
    -- bin
    -- project
        --- Assembly.sbt
        --- build.properties 
    -- src
        --- scala
            ---- BloomFilter.scala
            ---- TestCRA.scala
    -- target
    -- buildt.sbt

だから私のbuild.sbtで:

name := "Test"

version := "1.0"

scalaVersion := "2.11.6"

私の中Assembly.sbt

addSbtPlugin("com.eed3si9n" % "sbt-Assembly" % "0.14.2")

そして私のbuild.propertiesで:

sbt.version=1.0.4

だから私が起動すると:$ sbt Assembly私のRootProjectには、これがあります。

[warn]  module not found: com.eed3si9n#sbt-Assembly;0.14.2
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sbt-Assembly/scala_2.12/sbt_1.0/0.14.2/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-Assembly/scala_2.12/sbt_1.0/0.14.2/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /home/quentin/.ivy2/local/com.eed3si9n/sbt-Assembly/scala_2.12/sbt_1.0/0.14.2/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/com/eed3si9n/sbt-Assembly_2.12_1.0/0.14.2/sbt-Assembly-0.14.2.pom
[warn] ==== local-preloaded-ivy: tried
[warn]   /home/quentin/.sbt/preloaded/com.eed3si9n/sbt-Assembly/0.14.2/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////home/quentin/.sbt/preloaded/com/eed3si9n/sbt-Assembly_2.12_1.0/0.14.2/sbt-Assembly-0.14.2.pom
[info] downloading https://repo1.maven.org/maven2/org/Apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1-tests.jar ...
[info]  [SUCCESSFUL ] org.Apache.logging.log4j#log4j-core;2.8.1!log4j-core.jar(test-jar) (500ms)
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.eed3si9n#sbt-Assembly;0.14.2: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      com.eed3si9n:sbt-Assembly:0.14.2 (scalaVersion=2.12, sbtVersion=1.0)
[warn] 
[warn]  Note: Unresolved dependencies path:
[warn]      com.eed3si9n:sbt-Assembly:0.14.2 (scalaVersion=2.12, sbtVersion=1.0) (/home/quentin/Documents/Eclipse/BloomFilters/project/Assembly.sbt#L1-2)
[warn]        +- default:bloomfilters-build:0.1-SNAPSHOT (scalaVersion=2.12, sbtVersion=1.0)
[error] sbt.librarymanagement.ResolveException: unresolved dependency: com.eed3si9n#sbt-Assembly;0.14.2: not found
[error]     at sbt.internal.librarymanagement.IvyActions$.resolveAndRetrieve(IvyActions.scala:331)
[error]     at sbt.internal.librarymanagement.IvyActions$.$anonfun$updateEither$1(IvyActions.scala:205)
[error]     at sbt.internal.librarymanagement.IvySbt$Module.$anonfun$withModule$1(Ivy.scala:243)
[error]     at sbt.internal.librarymanagement.IvySbt.$anonfun$withIvy$1(Ivy.scala:204)
[error]     at sbt.internal.librarymanagement.IvySbt.sbt$internal$librarymanagement$IvySbt$$action$1(Ivy.scala:70)
[error]     at sbt.internal.librarymanagement.IvySbt$$anon$3.call(Ivy.scala:77)
[error]     at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:95)
[error]     at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:80)
[error]     at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:99)
[error]     at xsbt.boot.Using$.withResource(Using.scala:10)
[error]     at xsbt.boot.Using$.apply(Using.scala:9)
[error]     at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:60)
[error]     at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:50)
[error]     at xsbt.boot.Locks$.apply0(Locks.scala:31)
[error]     at xsbt.boot.Locks$.apply(Locks.scala:28)
[error]     at sbt.internal.librarymanagement.IvySbt.withDefaultLogger(Ivy.scala:77)
[error]     at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:199)
[error]     at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:196)
[error]     at sbt.internal.librarymanagement.IvySbt$Module.withModule(Ivy.scala:242)
[error]     at sbt.internal.librarymanagement.IvyActions$.updateEither(IvyActions.scala:190)
[error]     at sbt.librarymanagement.ivy.IvyDependencyResolution.update(IvyDependencyResolution.scala:20)
[error]     at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:56)
[error]     at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:38)
[error]     at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:91)
[error]     at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:68)
[error]     at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$19(LibraryManagement.scala:104)
[error]     at scala.util.control.Exception$Catch.apply(Exception.scala:224)
[error]     at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:104)
[error]     at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:87)
[error]     at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:149)
[error]     at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:118)
[error]     at sbt.Classpaths$.$anonfun$updateTask$5(Defaults.scala:2356)
[error]     at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error]     at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:42)
[error]     at sbt.std.Transform$$anon$4.work(System.scala:64)
[error]     at sbt.Execute.$anonfun$submit$2(Execute.scala:257)
[error]     at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]     at sbt.Execute.work(Execute.scala:266)
[error]     at sbt.Execute.$anonfun$submit$1(Execute.scala:257)
[error]     at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:167)
[error]     at sbt.CompletionService$$anon$2.call(CompletionService.scala:32)
[error]     at Java.util.concurrent.FutureTask.run(FutureTask.Java:266)
[error]     at Java.util.concurrent.Executors$RunnableAdapter.call(Executors.Java:511)
[error]     at Java.util.concurrent.FutureTask.run(FutureTask.Java:266)
[error]     at Java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.Java:1149)
[error]     at Java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.Java:624)
[error]     at Java.lang.Thread.run(Thread.Java:748)
[error] (*:update) sbt.librarymanagement.ResolveException: unresolved dependency: com.eed3si9n#sbt-Assembly;0.14.2: not found

実際、私はたくさんの研究をしました、そして私は完全に縛られています。私はこれについて多くのスタックオーバーフロートピックを読みましたが、この問題については多くの知識があることはわかっていますが、すべて試してみなければこの記事は書きません。

よろしくお願いします。私の言葉は申し訳ありません。

クエンティン

らしい (「sbt-Assembly 0.14.5はsbt 0.13と1.xにクロスビルドされています。」)現在、sbt-Assembly 0.14.5と0.14.6のみがsbt 1.xをサポートしています。だからあなたはそれに更新する必要があります:

addSbtPlugin("com.eed3si9n" % "sbt-Assembly" % "0.14.6")
17
Gábor Bakos