我正在尝试使用SBT构建工具构建scala项目https://github.com/claudemamo/kafka-web-console
对于每个SBT命令,包括“ sbt -version”
引发此异常
C:\kafka-web-console-topic-add-remove>sbt -version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
java.lang.IncompatibleClassChangeError: Expecting non-static method scala.Predef$.wrapRefArray([Ljava/lang/Object;)Lscala/collection/mutable/WrappedArray;
at sbt.CommandStrings$.<init>(CommandStrings.scala:62)
at sbt.CommandStrings$.<clinit>(CommandStrings.scala)
at sbt.BuiltinCommands$.initialize(Main.scala:195)
at sbt.xMain.run(Main.scala:27)
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
at xsbt.boot.Launch$.run(Launch.scala:109)
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
at xsbt.boot.Launch$.launch(Launch.scala:117)
at xsbt.boot.Launch$.apply(Launch.scala:18)
at xsbt.boot.Boot$.runImpl(Boot.scala:56)
at xsbt.boot.Boot$.main(Boot.scala:18)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.lang.IncompatibleClassChangeError: Expecting non-static method scala.Predef$.wrapRefArray([Ljava/lang/Object;)Lscala/collection/mutedArray;
我尝试使用两个不同的sbt-1.1.0
和sbt 1.1.6
仍然存在问题。