I created a sample pom.xml that successfully compiles cassandra.scala using maven 3, it might be useful to compare with you own: https://gist.github.com/gsilvestrin/6814624On Thu, Oct 3, 2013 at 2:16 PM, Richard Rodseth <firstname.lastname@example.org> wrote:Thanks for the offer. I wouldn't be able to share the whole pom, and this task has been de-prioritized, but if I can find the time I will try to create a simpler test case.I just tried adding the exclusion to the pom dependency, but it didn't make a difference.sbt:"com.datastax.cassandra" % "cassandra-driver-core" % "1.0.1" exclude("org.xerial.snappy", "snappy-java"),"org.xerial.snappy" % "snappy-java" % "1.0.5", //https://github.com/ptaoussanis/carmine/issues/5maven:
<!-- Based on typesafe activator template for cassandra/akka -->
<exclusion> <!-- declare the exclusion here -->
<version>1.0.5</version></dependency>On Thu, Oct 3, 2013 at 10:36 AM, Giancarlo Silvestrin <email@example.com> wrote:
Richard,I'm using akka + cassandra as well. I copied cassandra.scala to my local project and it compiled fine using SBT.If you can share your pom.xml I can try to help you.
-- GiancarloOn Thu, Oct 3, 2013 at 12:14 PM, Richard Rodseth <firstname.lastname@example.org> wrote:
I wanted to try the async Cassandra driver from DataStax, in a Scala/Akka app, so I took a look at the Akka Cassandra Activator template.
I copied cassandra.scala from the template (it contains a conversion from ResultSetFuture to a Scala future).Unfortunately that file doesn't compile in my project - the error is:value addListener is not a member of com.datastax.driver.core.ResultSetFutureI have the following in my Maven pom.xml
Probably something silly. Any pointers appreciated. Any other non-blocking Akka/Cassandra samples out there for me to look at?
Thanks in advance