Databricks Notebooks fails with NoSuchMethodError for a valid method - Stack Overflow

I'm using Databricks NotebooksScala to implement a simple test using Guava BloomFilter class. T

I'm using Databricks Notebooks / Scala to implement a simple test using Guava BloomFilter class. The library is added to the dependencies and everything looks fine. I can create the BloomFilter and "train"! it using the data I want.

When calling bf.writeTo(...), I get NoSuchMethodError, but the irony is that the method is available:

In the 3 command you see the method being available on the object, but in the 4th command the notebook fails telling me there's no such a method at all.

I've been away from Scala/JVM world for a while, and I'm new to this Notebook setting/env, so I'm not quite sure how I can explain this.

Anyone can help me to explain this and fix it?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745660946a4638833.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信