java.lang.NoSuchMethodError: breeze.stats.package$.meanAndVariance()Lbreeze/stats/DescriptiveStats$meanAndVariance$;

Stack Overflow | yash.vyas | 4 months ago
  1. 0

    NoSuchMethodError when using scala breeze lib for meanAndVariance method, but able to use percentile

    Stack Overflow | 4 months ago | yash.vyas
    java.lang.NoSuchMethodError: breeze.stats.package$.meanAndVariance()Lbreeze/stats/DescriptiveStats$meanAndVariance$;
  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

      breeze.stats.package$.meanAndVariance()Lbreeze/stats/DescriptiveStats$meanAndVariance$;

      at com.xxx.www.xxxxx.metrics.ResponseDuration.<init>()
    2. com.xxx.www
      ServiceMetricsTransformer$$anonfun$8.apply
      1. com.xxx.www.xxxxx.metrics.ResponseDuration.<init>(ResponseDuration.scala:12)
      2. com.xxx.www.xxxxx.ServiceMetricsTransformer$$anonfun$8.apply(ServiceMetricsTransformer.scala:86)
      3. com.xxx.www.xxxxx.ServiceMetricsTransformer$$anonfun$8.apply(ServiceMetricsTransformer.scala:85)
      3 frames
    3. Scala
      AbstractIterator.toBuffer
      1. scala.collection.Iterator$$anon$11.next(Iterator.scala:409)
      2. scala.collection.Iterator$$anon$10.next(Iterator.scala:393)
      3. scala.collection.Iterator$class.foreach(Iterator.scala:893)
      4. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
      5. scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:59)
      6. scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:104)
      7. scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:48)
      8. scala.collection.TraversableOnce$class.to(TraversableOnce.scala:310)
      9. scala.collection.AbstractIterator.to(Iterator.scala:1336)
      10. scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:302)
      11. scala.collection.AbstractIterator.toBuffer(Iterator.scala:1336)
      11 frames