Scala - What is this NoSuchMethodError telling me? -
i nosuchmethoderror
when run unit test. scala code compiles, why fail find method during runtime?
java.lang.nosuchmethoderror: com.twitter.algebird.analytics$.mean(lscala/function2;)lscala/function1;
what (lscala/function2;)
, lscala/function1;
mean?
this indicates using binary incompatible library, e.g. dependencies don't match (you have library version x , library b assumes library version y).
if build sbt, can run sbt evicted
give warnings possibly incompatible libraries.
Comments
Post a Comment