java.lang.IncompatibleClassChangeError: Found class org.scalacheck.Gen, but interface was expected

GitHub | tivepro | 8 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

    error when load a example

    GitHub | 8 months ago | tivepro
    java.lang.IncompatibleClassChangeError: Found class org.scalacheck.Gen, but interface was expected

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Found class org.scalacheck.Gen, but interface was expected

      at com.holdenkarau.spark.testing.DataframeGenerator$$anonfun$arbitraryDataFrameWithCustomFields$1.apply()
    2. com.holdenkarau.spark
      DataframeGenerator$$anonfun$arbitraryDataFrameWithCustomFields$1.apply
      1. com.holdenkarau.spark.testing.DataframeGenerator$$anonfun$arbitraryDataFrameWithCustomFields$1.apply(DataframeGenerator.scala:42)
      2. com.holdenkarau.spark.testing.DataframeGenerator$$anonfun$arbitraryDataFrameWithCustomFields$1.apply(DataframeGenerator.scala:42)
      2 frames
    3. scalacheck
      ArbitraryLowPriority$$anon$1.arbitrary
      1. org.scalacheck.ArbitraryLowPriority$$anon$1.arbitrary$lzycompute(Arbitrary.scala:69)
      2. org.scalacheck.ArbitraryLowPriority$$anon$1.arbitrary(Arbitrary.scala:69)
      2 frames