Hi I have problem with configure cassandra in spring project. I use Intellij
IDE and macos system.
that is problem's statement after used passwordsRepository.findAll() in MainController :
: Servlet.service() for
servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.cassandra.CassandraConnectionFailureException: Query; CQL [SELECT * FROM passwords]; No node was available to execute the query; nested exception is com.datastax.oss.driver.api.core.NoNodeAvailableException: No node was available to execute the query] with root cause
and that is my currently configuration:
cassandra database:
host: localhost
user: cassandra
password: cassandra
port: 9042
keyspace:
tables:
Cassandra config class:
maven dependecies:
Model:
Repository:
Controller:
All classes [controllers, model etc.] are in the same package/directory at the moment.