I'm going nuts trying to find a working example of using Cassandra with a
java ORM like Spring.framework.data. I've tried over a half dozen examples and none work
This makes me wonder if there is something wrong with the Cassandra server I am using.
However, this example works in java and groovy. Here is the abbreviated groovy version:
This makes me think that I have the v3.9 cassandra server working correctly.
So here is one of the many examples that I found from google searching that I cannot make work:
https://github.com/pivotal-cf/cf-cassandra-spring-example-app
I've tried this with Cassandra (versions 3.7 and 3.9 and 2.0.8) and java 1.8 on Windows 10.
As far as I can tell, everytime I run cassandra 2.0.8, or 3.7 or 3.9, the server is listening on 127.0.0.1 and the default port 9042 and all my clients are also trying to connect to port 9042 (the default).
I've also tried these examples and cannot make them work either:
https://github.com/valchkou/SpringFrameworkCassandraSample
https://github.com/smartcat-labs/spring-cassandra-showcase-application
https://github.com/hellojeya/Demo-SpringBoot-Cassandra
https://github.com/boneill42/spring-data-jpa-cassandra.git
https://examples.javacodegeeks.com/enterprise-java/spring/spring-data-cassandra-example/
And some others I cannot remember where I downloaded them from.
Can someone help me fix
https://github.com/pivotal-cf/cf-cassandra-spring-example-app or find an example that works (preferable an example that uses
JUnit to demonstrate that it works)?
Thanks
siegfried