Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by tivepro
, 1 year ago
Found class org.scalacheck.Gen, but interface was expected
java.lang.IncompatibleClassChangeError: Found class org.scalacheck.Gen, but interface was expected	at com.holdenkarau.spark.testing.DataframeGenerator$$anonfun$arbitraryDataFrameWithCustomFields$1.apply(DataframeGenerator.scala:42)	at com.holdenkarau.spark.testing.DataframeGenerator$$anonfun$arbitraryDataFrameWithCustomFields$1.apply(DataframeGenerator.scala:42)	at org.scalacheck.ArbitraryLowPriority$$anon$1.arbitrary$lzycompute(Arbitrary.scala:69)	at org.scalacheck.ArbitraryLowPriority$$anon$1.arbitrary(Arbitrary.scala:69)