2 Replies Latest reply on Dec 13, 2016 10:45 AM by Steven Hawkins

    java.lang.NoSuchMethodError: com.datastax.driver.core.ProtocolOptions.getProtocolVersionEnum

    Vijay K Newbie

      Hi All,

       

      I am getting below error when I try to connect to Cassandra from Teiid, Please let me know if you have any pointers

      10:51:07,921 WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Worker4_async-teiid-threads2)  IJ000604: Throwable while attempting to get a new connection: null: java.lang.NoSuchMethodError: com.datastax.driver.core.ProtocolOptions.getProtocolVersionEnum()Lcom/datastax/driver/core/ProtocolVersion;

        at org.teiid.resource.adapter.cassandra.CassandraConnectionImpl.<init>(CassandraConnectionImpl.java:70)

        at org.teiid.resource.adapter.cassandra.CassandraManagedConnectionFactory$1.getConnection(CassandraManagedConnectionFactory.java:48)

        at org.teiid.resource.adapter.cassandra.CassandraManagedConnectionFactory$1.getConnection(CassandraManagedConnectionFactory.java:45)

       

      My tech stack is below (attached the stack trace from the log file)

       

      JDK 8

      WildFly Full 9.0.2.Final (WildFly Core 1.0.2.Final)

      Cassandra 3.9

      cassandra-driver-core-3.1.2.jar and its dependencies