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

Stack Overflow | yash.vyas | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Stack Overflow | 6 months ago | yash.vyas
    java.lang.NoSuchMethodError: breeze.stats.package$.meanAndVariance()Lbreeze/stats/DescriptiveStats$meanAndVariance$;

    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