Error while connecting to Cassandra using Java Driver for Apache Cassandra 1.0 from com.example.cassandra

前端 未结 11 652
感动是毒
感动是毒 2020-12-29 21:38

While connecting to Cassandra client using java driver for Cannsandra by DataStax, it is throwing following error..

Exception in thread \"main\" com.datastax

11条回答
  •  粉色の甜心
    2020-12-29 22:09

    I too encountered this problem, and it was caused by a simple error in the statement that was being submitted.

    session.prepare(null);
    

    Obviously, the error message is misleading.

提交回复
热议问题