Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

sainikhilguntur_181814 avatar image
sainikhilguntur_181814 asked ·

Cassandra maven repository version 3.8.0 having problems with guava 21.0 version in pom.xml

I am using Cassandra maven repository version 3.8.0 and i have specfied guava 21.0 version in pom.xml ideally it should pick the guava specified in pom but is not and it saya the error i have mentioned in more details section. Any help in this space will be highly appreciated.


Caused by: com.datastax.driver.core.exceptions.DriverInternalError: Detected incompatible version of Guava in the classpath. You need 16.0.1 or higher.
at com.datastax.driver.core.GuavaCompatibility.selectImplementation(GuavaCompatibility.java:191)
at com.datastax.driver.core.GuavaCompatibility.<clinit>(GuavaCompatibility.java:58)
... 45 more

cassandra
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Cedrick Lunven avatar image
Cedrick Lunven answered ·

Hi sainikhilguntur_181814, did you find a way to your issue ? Should we have a closer look ?

In versions 4.x+ of the drivers guava embedded in the fat jar using dedicated package name, you should not have any issue left.

Keep us posted and sorry for delay to get this right.



Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.