java.lang.IncompatibleClassChangeError: Found interface org.scalacheck.Test$Parameters, but class was expected

GitHub | NoOrdInaryGuy | 7 months 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

    ScalaTest 3.0.0 Support

    GitHub | 7 months ago | NoOrdInaryGuy
    java.lang.IncompatibleClassChangeError: Found interface org.scalacheck.Test$Parameters, but class was expected
  2. 0

    GeneratorDrivenPropertyChecks fails with "Found interface org.scalacheck.Test$Parameters, but class was expected"

    GitHub | 5 months ago | dmyersturnbull
    java.lang.IncompatibleClassChangeError: Found interface org.scalacheck.Test$Parameters, but class was expected

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Found interface org.scalacheck.Test$Parameters, but class was expected

      at org.scalatest.prop.Configuration$class.getParams()
    2. scalatest
      Configuration$class.getParams
      1. org.scalatest.prop.Configuration$class.getParams(Configuration.scala:444)
      1 frame
    3. com.holdenkarau.spark
      SampleScalaCheckTest.getParams
      1. com.holdenkarau.spark.testing.SampleScalaCheckTest.getParams(SampleScalaCheckTest.scala:27)
      1 frame
    4. scalatest
      Checkers$class.check
      1. org.scalatest.prop.Checkers$class.check(Checkers.scala:373)
      1 frame
    5. com.holdenkarau.spark
      SampleScalaCheckTest$$anonfun$1.apply
      1. com.holdenkarau.spark.testing.SampleScalaCheckTest.check(SampleScalaCheckTest.scala:27)
      2. com.holdenkarau.spark.testing.SampleScalaCheckTest$$anonfun$1.apply(SampleScalaCheckTest.scala:36)
      3. com.holdenkarau.spark.testing.SampleScalaCheckTest$$anonfun$1.apply(SampleScalaCheckTest.scala:30)
      3 frames
    6. scalatest
      Transformer.apply
      1. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
      2. org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
      3. org.scalatest.Transformer.apply(Transformer.scala:22)
      4. org.scalatest.Transformer.apply(Transformer.scala:20)
      4 frames