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

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -