java.lang.NoSuchMethodError: org.scalacheck.Arbitrary$.arbFunction1(Lorg/scalacheck/Arbitrary;)Lorg/scalacheck/Arbitrary;

GitHub | nrinaudo | 5 months ago
  1. 0

    GitHub comment 15#244625873

    GitHub | 5 months ago | nrinaudo
    java.lang.NoSuchMethodError: org.scalacheck.Arbitrary$.arbFunction1(Lorg/scalacheck/Arbitrary;)Lorg/scalacheck/Arbitrary;
  2. 0
    I was using the library hibernate-entitymanager:4.3.5.Final with java persistence API 2.0 instead of using it with hibernate-entitymanager:4.2.8.Final.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    This bug happens in version 2.60, try updating to 2.60-rc4 or more recent.
    via GitHub by anujlal01
  5. 0
    Put Jackson Java Module and Scala module in the same version.
    via GitHub by anujlal01

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.scalacheck.Arbitrary$.arbFunction1(Lorg/scalacheck/Arbitrary;)Lorg/scalacheck/Arbitrary;

      at cats.laws.discipline.MonadTests$$anon$2.props()
    2. cats.laws.discipline
      MonadTests$$anon$2.props
      1. cats.laws.discipline.MonadTests$$anon$2.props(MonadTests.scala:30)
      1 frame
    3. org.typelevel.discipline
      Laws$RuleSet$class.all
      1. org.typelevel.discipline.Laws$RuleSet$class.org$typelevel$discipline$Laws$RuleSet$$collectParentProps(Laws.scala:80)
      2. org.typelevel.discipline.Laws$RuleSet$$anonfun$all$1.apply(Laws.scala:83)
      3. org.typelevel.discipline.Laws$RuleSet$$anonfun$all$1.apply(Laws.scala:83)
      4. org.typelevel.discipline.AllProperties.<init>(Laws.scala:128)
      5. org.typelevel.discipline.Laws$RuleSet$class.all(Laws.scala:83)
      5 frames
    4. cats.laws.discipline
      MonadTests$$anon$2.all
      1. cats.laws.discipline.MonadTests$$anon$2.all(MonadTests.scala:25)
      1 frame
    5. org.typelevel.discipline
      Discipline$class.checkAll
      1. org.typelevel.discipline.scalatest.Discipline$class.checkAll(Discipline.scala:12)
      1 frame