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.

-- Giancarlo

On Thu, Oct 3, 2013 at 12:14 PM, Richard Rodseth <rrods...@gmail.com> 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.
>
> https://github.com/eigengo/activator-akka-cassandra
>
> 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.ResultSetFuture
>
>
> I have the following in my Maven pom.xml
>
>            <dependency>
>
>             <groupId>com.datastax.cassandra</groupId>
>
>             <artifactId>cassandra-driver-core</artifactId>
>
>             <version>1.0.3</version>
>
>           </dependency>
>
> Probably something silly. Any pointers appreciated. Any other non-blocking
> Akka/Cassandra samples out there for me to look at?
>
> Thanks in advance
>
> RIchard
>

Reply via email to