Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't load with sbt #244

Open
eakarsu opened this issue Nov 12, 2019 · 0 comments
Open

Doesn't load with sbt #244

eakarsu opened this issue Nov 12, 2019 · 0 comments

Comments

@eakarsu
Copy link

eakarsu commented Nov 12, 2019

With my sbt file, I am getting error. Can you resolve it?

thanks

name := "NRTIndexing"

version := "0.1"

scalaVersion := "2.11.12"

libraryDependencies in ThisBuild ++= Seq(
"org.apache.spark" %% "spark-core" % "2.3.0",
"org.apache.spark" %% "spark-streaming" % "2.3.0",
"org.apache.spark" %% "spark-sql" % "2.3.0",
"com.couchbase.client" %% "spark-connector" % "2.3.0",
"io.ino" %% "solrs" % "2.3.0",
"org.scalaj" %% "scalaj-http" % "2.4.2",

"com.pepegar" %% "hammock-core" % "0.10.0",
"com.pepegar" %% "hammock-apache-http" % "0.10.0",
"com.pepegar" %% "hammock-asynchttpclient" % "0.10.0"
)

sbt console
[info] Loading settings for project global-plugins from metals.sbt ...
[info] Loading global plugins from /Users/eakarsu/.sbt/1.0/plugins
[info] Loading project definition from /Users/eakarsu/OneDrive - Lowe's Companies Inc/projects/NRTIndexing/project
[info] Loading settings for project nrtindexing from build.sbt ...
[info] Set current project to NRTIndexing (in build file:/Users/eakarsu/OneDrive%20-%20Lowe's%20Companies%20Inc/projects/NRTIndexing/)
[info] Updating
[info] Resolved dependencies
[warn]
[warn] Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.pepegar:hammock-core_2.11:0.10.0
[error] Not found
[error] Not found
[error] not found: /Users/eakarsu/.ivy2/local/com.pepegar/hammock-core_2.11/0.10.0/ivys/ivy.xml
[error] not found: https://repo1.maven.org/maven2/com/pepegar/hammock-core_2.11/0.10.0/hammock-core_2.11-0.10.0.pom
[error] Error downloading com.pepegar:hammock-asynchttpclient_2.11:0.10.0
[error] Not found
[error] Not found
[error] not found: /Users/eakarsu/.ivy2/local/com.pepegar/hammock-asynchttpclient_2.11/0.10.0/ivys/ivy.xml
[error] not found: https://repo1.maven.org/maven2/com/pepegar/hammock-asynchttpclient_2.11/0.10.0/hammock-asynchttpclient_2.11-0.10.0.pom
[error] Error downloading com.pepegar:hammock-apache-http_2.11:0.10.0
[error] Not found
[error] Not found
[error] not found: /Users/eakarsu/.ivy2/local/com.pepegar/hammock-apache-http_2.11/0.10.0/ivys/ivy.xml
[error] not found: https://repo1.maven.org/maven2/com/pepegar/hammock-apache-http_2.11/0.10.0/hammock-apache-http_2.11-0.10.0.pom
[error] at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:245)
[error] at lmcoursier.CoursierDependencyResolution.$anonfun$update$34(CoursierDependencyResolution.scala:214)
[error] at scala.util.Either$LeftProjection.map(Either.scala:573)
[error] at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:214)
[error] at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
[error] at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:52)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:102)
[error] at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:69)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:115)
[error] at scala.util.control.Exception$Catch.apply(Exception.scala:228)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:115)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:96)
[error] at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:150)
[error] at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:129)
[error] at sbt.Classpaths$.$anonfun$updateTask0$5(Defaults.scala:2946)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:281)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
[error] at sbt.Execute.work(Execute.scala:290)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:281)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[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: Error downloading com.pepegar:hammock-core_2.11:0.10.0
[error] Not found
[error] Not found
[error] not found: /Users/eakarsu/.ivy2/local/com.pepegar/hammock-core_2.11/0.10.0/ivys/ivy.xml
[error] not found: https://repo1.maven.org/maven2/com/pepegar/hammock-core_2.11/0.10.0/hammock-core_2.11-0.10.0.pom
[error] Error downloading com.pepegar:hammock-asynchttpclient_2.11:0.10.0
[error] Not found
[error] Not found
[error] not found: /Users/eakarsu/.ivy2/local/com.pepegar/hammock-asynchttpclient_2.11/0.10.0/ivys/ivy.xml
[error] not found: https://repo1.maven.org/maven2/com/pepegar/hammock-asynchttpclient_2.11/0.10.0/hammock-asynchttpclient_2.11-0.10.0.pom
[error] Error downloading com.pepegar:hammock-apache-http_2.11:0.10.0
[error] Not found
[error] Not found
[error] not found: /Users/eakarsu/.ivy2/local/com.pepegar/hammock-apache-http_2.11/0.10.0/ivys/ivy.xml
[error] not found: https://repo1.maven.org/maven2/com/pepegar/hammock-apache-http_2.11/0.10.0/hammock-apache-http_2.11-0.10.0.pom
[error] Total time: 3 s, completed Nov 12, 2019 11:08:28 AM
eakarsu-57ce22:NRTIndexing eakarsu$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant