jamesward / koober

336 stars 105 forks source link

can't run from master #6

Closed gAmUssA closed 7 years ago

gAmUssA commented 7 years ago
$ ./sbt kafkaServer/run
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
[warn] The global sbt directory is now versioned and is located at /Users/apple/.sbt/0.13.
[warn]   You are seeing this warning because there is global configuration in /Users/apple/.sbt but not in /Users/apple/.sbt/0.13.
[warn]   The global sbt directory may be changed via the sbt.global.base system property.
[info] Loading project definition from /Users/apple/projects/hazelcast/poc/koober/project
[warn] The global sbt directory is now versioned and is located at /Users/apple/.sbt/0.13.
[warn]   You are seeing this warning because there is global configuration in /Users/apple/.sbt but not in /Users/apple/.sbt/0.13.
[warn]   The global sbt directory may be changed via the sbt.global.base system property.
[info] Updating {file:/Users/apple/projects/hazelcast/poc/koober/project/}koober-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: commons-io#commons-io;2.4: configuration not found in commons-io#commons-io;2.4: 'master(compile)'. Missing configuration: 'compile'. It was required from org.vafer#jdeb;1.3 compile
[warn]  :: aopalliance#aopalliance;1.0: configuration not found in aopalliance#aopalliance;1.0: 'master(compile)'. Missing configuration: 'compile'. It was required from org.sonatype.sisu#sisu-guice;3.1.0 compile
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Unresolved dependencies path:
[warn]      commons-io:commons-io:2.4
[warn]        +- org.vafer:jdeb:1.3
[warn]        +- com.typesafe.sbt:sbt-native-packager:1.0.3 (scalaVersion=2.10, sbtVersion=0.13)
[warn]        +- com.typesafe.play:sbt-plugin:2.5.12 (scalaVersion=2.10, sbtVersion=0.13) (/Users/apple/projects/hazelcast/poc/koober/project/plugins.sbt#L1-2)
[warn]        +- default:koober-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]      aopalliance:aopalliance:1.0
[warn]        +- org.sonatype.sisu:sisu-guice:3.1.0
[warn]        +- org.eclipse.sisu:org.eclipse.sisu.plexus:0.0.0.M5
[warn]        +- org.apache.maven:maven-plugin-api:3.2.2
[warn]        +- org.apache.maven:maven-core:3.2.2
[warn]        +- org.vafer:jdeb:1.3
[warn]        +- com.typesafe.sbt:sbt-native-packager:1.0.3 (scalaVersion=2.10, sbtVersion=0.13)
[warn]        +- com.typesafe.play:sbt-plugin:2.5.12 (scalaVersion=2.10, sbtVersion=0.13) (/Users/apple/projects/hazelcast/poc/koober/project/plugins.sbt#L1-2)
[warn]        +- default:koober-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
sbt.ResolveException: unresolved dependency: commons-io#commons-io;2.4: configuration not found in commons-io#commons-io;2.4: 'master(compile)'. Missing configuration: 'compile'. It was required from org.vafer#jdeb;1.3 compile
unresolved dependency: aopalliance#aopalliance;1.0: configuration not found in aopalliance#aopalliance;1.0: 'master(compile)'. Missing configuration: 'compile'. It was required from org.sonatype.sisu#sisu-guice;3.1.0 compile
    at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313)
    at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)
    at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
    at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133)
    at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
    at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
    at xsbt.boot.Using$.withResource(Using.scala:10)
    at xsbt.boot.Using$.apply(Using.scala:9)
    at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
    at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
    at xsbt.boot.Locks$.apply0(Locks.scala:31)
    at xsbt.boot.Locks$.apply(Locks.scala:28)
    at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
    at sbt.IvySbt.withIvy(Ivy.scala:128)
    at sbt.IvySbt.withIvy(Ivy.scala:125)
    at sbt.IvySbt$Module.withModule(Ivy.scala:156)
    at sbt.IvyActions$.updateEither(IvyActions.scala:168)
    at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1481)
    at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1477)
    at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$121.apply(Defaults.scala:1512)
    at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$121.apply(Defaults.scala:1510)
    at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
    at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1515)
    at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1509)
    at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
    at sbt.Classpaths$.cachedUpdate(Defaults.scala:1532)
    at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1459)
    at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1411)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
    at sbt.std.Transform$$anon$4.work(System.scala:63)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
    at sbt.Execute.work(Execute.scala:237)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
    at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: commons-io#commons-io;2.4: configuration not found in commons-io#commons-io;2.4: 'master(compile)'. Missing configuration: 'compile'. It was required from org.vafer#jdeb;1.3 compile
[error] unresolved dependency: aopalliance#aopalliance;1.0: configuration not found in aopalliance#aopalliance;1.0: 'master(compile)'. Missing configuration: 'compile'. It was required from org.sonatype.sisu#sisu-guice;3.1.0 compile
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[error] Expected ID character
[error] Not a valid command: kafkaServer
[error] kafkaServer/run
[error]            ^
jamesward commented 7 years ago

You have a corrupt ivy cache. Try:

rm -rf ~/.ivy2/cache/commons-io
rm -rf ~/.ivy2/cache/aopalliance

Then try again.

gAmUssA commented 7 years ago

rm -rf ~/.ivy2/cache/jline everything alright now. proceeding with caution 👍