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

Build Issue - Unresolved Dependency #3

Open
decidedlygray opened this issue Jul 27, 2022 · 0 comments
Open

Build Issue - Unresolved Dependency #3

decidedlygray opened this issue Jul 27, 2022 · 0 comments

Comments

@decidedlygray
Copy link

Hello,

When I try to run sbt run the project currently fails to build. I'm wondering if this is related to the repository moving from
https://github.com/NewMotion/ocpp-charger to https://github.com/ShellRechargeSolutionsEU/ocpp-charger/ ?

Here is the end of the PowerShell output (running on Windows 10) with the error message:

(...log output truncated for brevity...)
info downloading https://repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar ...
info  [SUCCESSFUL ] org.specs2#specs2-common_2.11;2.4.17!specs2-common_2.11.jar (1791ms)
info  [SUCCESSFUL ] ch.qos.logback#logback-classic;1.2.3!logback-classic.jar (272ms)
info  [SUCCESSFUL ] org.scalaz#scalaz-core_2.11;7.1.0!scalaz-core_2.11.jar(bundle) (9341ms)
info  [SUCCESSFUL ] org.scala-lang#scala-compiler;2.11.11!scala-compiler.jar (8058ms)
warn       ::::::::::::::::::::::::::::::::::::::::::::::
warn       ::          UNRESOLVED DEPENDENCIES         ::
warn       ::::::::::::::::::::::::::::::::::::::::::::::
warn       :: com.thenewmotion.ocpp#ocpp-spray_2.11;4.3.0: not found
warn       :: com.thenewmotion.ocpp#ocpp-json_2.11;4.3.0: not found
warn       ::::::::::::::::::::::::::::::::::::::::::::::
warn 
warn       Note: Unresolved dependencies path:
warn               com.thenewmotion.ocpp:ocpp-spray_2.11:4.3.0 (C:\dev\ocpp_api\ocpp-charger-master\build.sbt#L12)
warn                 +- com.thenewmotion.chargenetwork:ocpp-charger_2.11:2.6.2-SNAPSHOT
warn               com.thenewmotion.ocpp:ocpp-json_2.11:4.3.0 (C:\dev\ocpp_api\ocpp-charger-master\build.sbt#L12)
warn                 +- com.thenewmotion.chargenetwork:ocpp-charger_2.11:2.6.2-SNAPSHOT
error sbt.librarymanagement.ResolveException: unresolved dependency: com.thenewmotion.ocpp#ocpp-spray_2.11;4.3.0: not found
error unresolved dependency: com.thenewmotion.ocpp#ocpp-json_2.11;4.3.0: not found
error      at sbt.internal.librarymanagement.IvyActions$.resolveAndRetrieve(IvyActions.scala:334)
error      at sbt.internal.librarymanagement.IvyActions$.$anonfun$updateEither$1(IvyActions.scala:208)
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:113)
error      at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:91)
error      at xsbt.boot.Locks$GlobalLock.$anonfun$withFileLock$1(Locks.scala:119)
error      at xsbt.boot.Using$.withResource(Using.scala:12)
error      at xsbt.boot.Using$.apply(Using.scala:9)
error      at xsbt.boot.Locks$GlobalLock.withFileLock(Locks.scala:119)
error      at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:71)
error      at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:59)
error      at xsbt.boot.Locks$.apply0(Locks.scala:47)
error      at xsbt.boot.Locks$.apply(Locks.scala:36)
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:193)
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:46)
error      at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:99)
error      at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:68)
error      at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$19(LibraryManagement.scala:112)
error      at scala.util.control.Exception$Catch.apply(Exception.scala:224)
error      at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:112)
error      at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:95)
error      at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:149)
error      at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:126)
error      at sbt.Classpaths$.$anonfun$updateTask$5(Defaults.scala:2398)
error      at scala.Function1.$anonfun$compose$1(Function1.scala:44)
error      at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:39)
error      at sbt.std.Transform$$anon$4.work(System.scala:66)
error      at sbt.Execute.$anonfun$submit$2(Execute.scala:263)
error      at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
error      at sbt.Execute.work(Execute.scala:272)
error      at sbt.Execute.$anonfun$submit$1(Execute.scala:263)
error      at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:174)
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: unresolved dependency: com.thenewmotion.ocpp#ocpp-spray_2.11;4.3.0: not found
error unresolved dependency: com.thenewmotion.ocpp#ocpp-json_2.11;4.3.0: not found
error Total time: 22 s, completed Jul 27, 2022 4:07:59 PM

Do you have any tips on resolving this issue?

Thanks!

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