scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.

Google Groups | Christoph Dittberner | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    sbt test: object scala.runtime in compiler mirror not found

    Google Groups | 3 years ago | Christoph Dittberner
    scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.
  2. 0

    Test in Eclipse works but sbt throws MissingRequirementError: object scala.runtime in compiler mirror not found

    Stack Overflow | 3 years ago | csferi27
    scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.

    Root Cause Analysis

    1. scala.reflect.internal.MissingRequirementError

      object scala.runtime in compiler mirror not found.

      at scala.reflect.internal.MissingRequirementError$.signal()
    2. Scala
      Definitions$DefinitionsClass.RuntimePackageClass$lzycompute
      1. scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)[info]
      2. scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17)[info]
      3. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)[info]
      4. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:40)[info]
      5. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)[info]
      6. scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172)[info]
      7. scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.scala:175)[info]
      8. scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lzycompute(Definitions.scala:183)[info]
      9. scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(Definitions.scala:183)[info]
      10. scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass$lzycompute(Definitions.scala:184)[info]
      10 frames