java.lang.NoClassDefFoundError: Could not initialize class scala.tools.fusesource_embedded.jansi.internal.Kernel32

GitHub | hossameldeen | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    sbt 0.13.12 console fails with NoClassDefFoundError when scalaVersion is 2.11.8

    GitHub | 6 months ago | hossameldeen
    java.lang.NoClassDefFoundError: Could not initialize class scala.tools.fusesource_embedded.jansi.internal.Kernel32
  2. 0

    sbt 0.3.12 console fails with NoClassDefFoundError when scalaVersion is 2.11.8

    GitHub | 6 months ago | hossameldeen
    java.lang.NoClassDefFoundError: Could not initialize class scala.tools.fusesource_embedded.jansi.internal.Kernel32
  3. 0

    GitHub comment 146#276687974

    GitHub | 4 weeks ago | hrzafer
    java.lang.NoClassDefFoundError: Could not initialize class scala.tools.fusesource_embedded.jansi.internal.Kernel32
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    spark-shell - failure to initialize terminal (Windows 10, official cmd.exe)

    Stack Overflow | 9 months ago | JimyRyan
    java.lang.NoClassDefFoundError: Could not initialize class scala.tools.fusesource_embedded.jansi.internal.Kernel32

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class scala.tools.fusesource_embedded.jansi.internal.Kernel32

      at scala.tools.fusesource_embedded.jansi.internal.WindowsSupport.getConsoleMode()
    2. scala.tools.fusesource_embedded
      WindowsSupport.getConsoleMode
      1. scala.tools.fusesource_embedded.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.java:50)
      1 frame
    3. scala.tools.jline_embedded
      ConsoleReader.<init>
      1. scala.tools.jline_embedded.WindowsTerminal.getConsoleMode(WindowsTerminal.java:204)
      2. scala.tools.jline_embedded.WindowsTerminal.init(WindowsTerminal.java:82)
      3. scala.tools.jline_embedded.TerminalFactory.create(TerminalFactory.java:101)
      4. scala.tools.jline_embedded.TerminalFactory.get(TerminalFactory.java:158)
      5. scala.tools.jline_embedded.console.ConsoleReader.<init>(ConsoleReader.java:229)
      6. scala.tools.jline_embedded.console.ConsoleReader.<init>(ConsoleReader.java:221)
      7. scala.tools.jline_embedded.console.ConsoleReader.<init>(ConsoleReader.java:209)
      7 frames
    4. scala.tools.nsc
      InteractiveReader.<init>
      1. scala.tools.nsc.interpreter.jline_embedded.JLineConsoleReader.<init>(JLineReader.scala:62)
      2. scala.tools.nsc.interpreter.jline_embedded.InteractiveReader.<init>(JLineReader.scala:34)
      2 frames
    5. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    6. Scala Compiler
      ILoop$$anonfun$21$$anonfun$apply$9.apply
      1. scala.tools.nsc.interpreter.ILoop$$anonfun$scala$tools$nsc$interpreter$ILoop$$instantiater$1$1.apply(ILoop.scala:858)
      2. scala.tools.nsc.interpreter.ILoop$$anonfun$scala$tools$nsc$interpreter$ILoop$$instantiater$1$1.apply(ILoop.scala:855)
      3. scala.tools.nsc.interpreter.ILoop.scala$tools$nsc$interpreter$ILoop$$mkReader$1(ILoop.scala:862)
      4. scala.tools.nsc.interpreter.ILoop$$anonfun$21$$anonfun$apply$9.apply(ILoop.scala:873)
      5. scala.tools.nsc.interpreter.ILoop$$anonfun$21$$anonfun$apply$9.apply(ILoop.scala:873)
      5 frames
    7. Scala
      Try$.apply
      1. scala.util.Try$.apply(Try.scala:192)
      1 frame
    8. Scala Compiler
      ILoop$$anonfun$21.apply
      1. scala.tools.nsc.interpreter.ILoop$$anonfun$21.apply(ILoop.scala:873)
      2. scala.tools.nsc.interpreter.ILoop$$anonfun$21.apply(ILoop.scala:873)
      2 frames
    9. Scala
      Stream.collect
      1. scala.collection.immutable.Stream$$anonfun$map$1.apply(Stream.scala:418)
      2. scala.collection.immutable.Stream$$anonfun$map$1.apply(Stream.scala:418)
      3. scala.collection.immutable.Stream$Cons.tail(Stream.scala:1233)
      4. scala.collection.immutable.Stream$Cons.tail(Stream.scala:1223)
      5. scala.collection.immutable.Stream.collect(Stream.scala:435)
      5 frames
    10. Scala Compiler
      ILoop$$anonfun$process$1.apply
      1. scala.tools.nsc.interpreter.ILoop.chooseReader(ILoop.scala:875)
      2. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1$$anonfun$apply$mcZ$sp$2.apply(ILoop.scala:914)
      3. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:914)
      4. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:909)
      5. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:909)
      5 frames
    11. Scala
      ScalaClassLoader$.savingContextLoader
      1. scala.reflect.internal.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:97)
      1 frame
    12. Scala Compiler
      ILoop.main
      1. scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:909)
      2. scala.tools.nsc.interpreter.ILoop.main(ILoop.scala:934)
      2 frames
    13. SBT
      ConsoleInterface.run
      1. xsbt.ConsoleInterface.run(ConsoleInterface.scala:62)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    15. SBT
      TrapExit$App.run
      1. sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101)
      2. sbt.compiler.AnalyzingCompiler.console(AnalyzingCompiler.scala:76)
      3. sbt.Console.sbt$Console$$console0$1(Console.scala:22)
      4. sbt.Console$$anonfun$apply$2$$anonfun$apply$1.apply$mcV$sp(Console.scala:23)
      5. sbt.Console$$anonfun$apply$2$$anonfun$apply$1.apply(Console.scala:23)
      6. sbt.Console$$anonfun$apply$2$$anonfun$apply$1.apply(Console.scala:23)
      7. sbt.Logger$$anon$4.apply(Logger.scala:84)
      8. sbt.TrapExit$App.run(TrapExit.scala:248)
      8 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame