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

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -