Cassandra NoClassDefFoundError:com / google / common / util / concurrent / AsyncFunction

编程入门 行业动态 更新时间:2024-10-25 01:27:18
本文介绍了Cassandra NoClassDefFoundError:com / google / common / util / concurrent / AsyncFunction的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 cluster = Cluster.builder() .addContactPoint("localhost") .build(); Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/util/concurrent/AsyncFunction

我路上仅有的两个jars是2个cassandra java驱动程序jars cassandra-driver-core-2.1.10.3.jar和cassandra-driver-mapping-2.1.10.3.jar

The only jars I have in my path are the 2 cassandra java driver jars cassandra-driver-core-2.1.10.3.jar and cassandra-driver-mapping-2.1.10.3.jar

谢谢

推荐答案

问题在于缺少guava.jar。将其添加到类路径中可解决此问题。 总体问题是缺少合适的DataSatx文档

The issue is with missing guava.jar. Adding this in the class path solved (this) issue. Overall issue is lack of suitable DataSatx documentaion

更多推荐

Cassandra NoClassDefFoundError:com / google / common / util / concurrent / Async

本文发布于:2023-05-25 10:53:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/226597.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:google   NoClassDefFoundError   Cassandra   common   AsyncFunction

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!