一个。我正在使用sbt 1.0.2
湾我在IBM的Unix系统服务环境(POSIX兼容UNIX)中运行它
℃。我想编译一个简单的HiWorld Scala文件。我之前已经为这个HiWorld应用程序创建了文件结构。
d。我的调用字符串是
/var/rocket/bin/bash --verbose $sbt_home/bin/sbt compile -d -v
即sbt开始运行并发出这些消息
java
-Xms1024m
-Xmx1024m
-XX:ReservedCodeCacheSize=128m
-XX:MaxMetaspaceSize=256m
-jar
/u/bobmcc/sbt/bin/sbt-launch.jar
compile
F。我在V8.0和64位使用IBM Java而不是Sun
克。环境变量列出
#!/bin/bash
export sbt_home=/u/bobmcc/sbt
export SBT_HOME=/u/bobmcc/sbt
export SPARK_HOME=/Spark
export SPARK_CONF_DIR=/etc/spark/conf
export SPARK_LOG_DIR=/etc/spark/logs
export SPARK_WORKER_DIR=/etc/spark/work
export SPARK_LOCAL_DIRS=/tmp/spark/scratch
export SPARK_PID_DIR=/tmp/spark/pid
export JAVA_HOME=/Java/J8.0_64
export PATH=/bin:$JAVA_HOME/bin:/var/rocket/bin:/bin:$PATH:$HOME:
export PATH=/db2/db2c10/jdbc/bin:.:$PATH
export MANPATH=$MANPATH:/var/rocket/man/
export IBM_JAVA_OPTIONS="-Dfile.encoding=ISO8859-1"
export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
export _BPXK_AUTOCVT=ON
export _TAG_REDIR_ERR=txt
export _TAG_REDIR_IN=txt
export _TAG_REDIR_OUT=txt
export PS1='$LOGNAME':'$PWD':' >'
export LIBPATH=/usr/lib/java_runtime:/db2/db2c10/base/lib
export STEPLIB=DSN.V12R1M0.SDSNLOAD
export CLASSPATH=/u/bobmcc/sbt/bin:/usr/include/java_classes/gxljapi.jar:/usr/include/java_classes/gxljosrgImpl.jar:/db2/db2c10/jdbc/classes/db2jcc4.jar
export _C89_XSUFFIX_HOST="SDSNMACS"
export _CXX_XSUFFIX_HOST="SDSNMACS"
小时。错误堆栈列在这里
Ýinfo¨ Loading project definition from /u/bobmcc/HiWorld/project
Ýinfo¨ Updating {file:/u/bobmcc/HiWorld/project/}hiworld-build...
*****Ýerror¨ java.lang.IncompatibleClassChangeError: conflicting default methods for 'newBuilder()Lscala/collection/mutable/Builder;' in scala/collection/immutable/D
efaultMap from classes Ýscala/collection/MapLike, scala/collection/generic/GenericTraversableTemplate¨*****
Ýerror¨ at scala.collection.immutable.DefaultMap.$minus(DefaultMap.scala:48)
Ýerror¨ at scala.collection.immutable.DefaultMap.$minus$(DefaultMap.scala:47)
Ýerror¨ at scala.collection.immutable.MapLike$$anon$1.$minus(MapLike.scala:95)
Ýerror¨ at scala.collection.immutable.MapLike$$anon$1.$minus(MapLike.scala:95)
Ýerror¨ at sbt.internal.librarymanagement.CustomPomParser$.toUnqualify(CustomPomParser.scala:153)
Ýerror¨ at sbt.internal.librarymanagement.CustomPomParser$.defaultTransformImpl(CustomPomParser.scala:134)
Ýerror¨ at sbt.internal.librarymanagement.CustomPomParser$.defaultTransform(CustomPomParser.scala:103)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$.resetArtifactResolver(Ivy.scala:579)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$$anon$2.findModuleInCache(Ivy.scala:599)
Ýerror¨ at org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:352)
Ýerror¨ at sbt.internal.librarymanagement.ivyint.SbtChainResolver.protected$findModuleInCache(SbtChainResolver.scala:103)
Ýerror¨ at sbt.internal.librarymanagement.ivyint.SbtChainResolver$CustomSbtResolution$.$anonfun$getCached$1(SbtChainResolver.scala:103)
Ýerror¨ at sbt.internal.librarymanagement.ivyint.SbtChainResolver$CustomSbtResolution$$$Lambda$1853.000000009AAF28F0.apply(Unknown Source)
Ýerror¨ at scala.Option.orElse(Option.scala:289)
Ýerror¨ at sbt.internal.librarymanagement.ivyint.SbtChainResolver$CustomSbtResolution$.getCached(SbtChainResolver.scala:100)
Ýerror¨ at sbt.internal.librarymanagement.ivyint.SbtChainResolver$CustomSbtResolution$.getDependency(SbtChainResolver.scala:315)
Ýerror¨ at sbt.internal.librarymanagement.ivyint.SbtChainResolver.getDependency(SbtChainResolver.scala:90)
Ýerror¨ at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:169)
Ýerror¨ at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
Ýerror¨ at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:714)
Ýerror¨ at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:799)
Ýerror¨ at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:722)
Ýerror¨ at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:594)
Ýerror¨ at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:234)
Ýerror¨ at org.apache.ivy.Ivy.resolve(Ivy.java:517)
Ýerror¨ at sbt.internal.librarymanagement.IvyActions$.resolveAndRetrieve(IvyActions.scala:319)
Ýerror¨ at sbt.internal.librarymanagement.IvyActions$.$anonfun$updateEither$1(IvyActions.scala:205)
Ýerror¨ at sbt.internal.librarymanagement.IvyActions$$$Lambda$1778.000000009AA74930.apply(Unknown Source)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$Module.$anonfun$withModule$1(Ivy.scala:229)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$Module$$Lambda$1779.000000009AA752F0.apply(Unknown Source)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt.$anonfun$withIvy$1(Ivy.scala:190)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$$Lambda$1780.000000009AA75990.apply(Unknown Source)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$Module.$anonfun$withModule$1(Ivy.scala:229)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$Module$$Lambda$1779.000000009AA752F0.apply(Unknown Source)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt.$anonfun$withIvy$1(Ivy.scala:190)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$$Lambda$1780.000000009AA75990.apply(Unknown Source)
Ý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:93)
Ýerror¨ at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
Ýerror¨ at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
Ý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:58)
Ýerror¨ at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
Ý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:185)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:182)
Ýerror¨ at sbt.internal.librarymanagement.IvySbt$Module.withModule(Ivy.scala:228)
Ý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.internal.LibraryManagement$$$Lambda$1774.000000009AA71890.apply(Unknown Source)
Ýerror¨ at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:68)
Ýerror¨ at sbt.util.Tracked$$$Lambda$1732.00000000994C3E30.apply(Unknown Source)
Ýerror¨ at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$19(LibraryManagement.scala:104)
Ýerror¨ at sbt.internal.LibraryManagement$$$Lambda$1776.000000009AA735D0.apply(Unknown Source)
Ý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.internal.LibraryManagement$$$Lambda$1773.000000009AA70930.apply(Unknown Source)
Ýerror¨ at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:149)
Ýerror¨ at sbt.util.Tracked$$$Lambda$1685.00000000994438D0.apply(Unknown Source)
Ýerror¨ at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:118)
Ýerror¨ at sbt.Classpaths$.$anonfun$updateTask$5(Defaults.scala:2353)
Ýerror¨ at sbt.Classpaths$$$Lambda$889.0000000087F26610.apply(Unknown Source)
Ýerror¨ at scala.Function1.$anonfun$compose$1(Function1.scala:44)
Ýerror¨ at scala.Function1$$Lambda$778.0000000087AF5690.apply(Unknown Source)
Ýerror¨ at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:42)
Ýerror¨ at sbt.internal.util.$tilde$greater$$Lambda$1604.0000000088686810.apply(Unknown Source)
Ýerror¨ at sbt.std.Transform$$anon$4.work(System.scala:64)
Ýerror¨ at sbt.Execute.$anonfun$submit$2(Execute.scala:257)
Ýerror¨ at sbt.Execute$$Lambda$1622.00000000886969D0.apply(Unknown Source)
Ý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.Execute$$Lambda$1612.000000008868A390.apply(Unknown Source)
Ýerror¨ at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:167)
Ýerror¨ at sbt.ConcurrentRestrictions$$anon$4$$Lambda$1619.000000008868CE70.apply(Unknown Source)
Ýerror¨ at sbt.CompletionService$$anon$2.call(CompletionService.scala:32)
Ýerror¨ at java.util.concurrent.FutureTask.run(FutureTask.java:277)
Ýerror¨ at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
Ýerror¨ at java.util.concurrent.FutureTask.run(FutureTask.java:277)
Ýerror¨ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
Ýerror¨ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Ýerror¨ at java.lang.Thread.run(Thread.java:785)
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? Ýerror¨ (*:update) java.lang.IncompatibleClassChangeError: conflicting default methods for 'newBui
lder()Lscala/collection/mutable/Builder;' in scala/collection/immutable/DefaultMap from classes Ýscala/collection/MapLike, scala/collection/generic/GenericTrave
rsableTemplate¨
我。我应该注意到它不会接受任何命令
学家我正在寻求关于如何克服这个问题的任何建议
java.lang.IncompatibleClassChangeError 消息。
感激地收到任何反馈 -bobmcc