Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Satya
, 1 year ago
com.datastax.driver.core.KeyspaceMetadata.getMaterializedViews()Ljava/util/Collection;
via Stack Overflow by Steven Park
, 7 months ago
com.datastax.driver.core.KeyspaceMetadata.getMaterializedViews()Ljava/util/Collection;
java.lang.NoSuchMethodError: com.datastax.driver.core.KeyspaceMetadata.getMaterializedViews()Ljava/util/Collection;	at com.datastax.spark.connector.cql.Schema$.com$datastax$spark$connector$cql$Schema$$fetchTables$1(Schema.scala:281)	at com.datastax.spark.connector.cql.Schema$$anonfun$com$datastax$spark$connector$cql$Schema$$fetchKeyspaces$1$2.apply(Schema.scala:305)	at com.datastax.spark.connector.cql.Schema$$anonfun$com$datastax$spark$connector$cql$Schema$$fetchKeyspaces$1$2.apply(Schema.scala:304)	at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:683)	at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:316)	at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:972)	at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:972)	at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:682)	at com.datastax.spark.connector.cql.Schema$.com$datastax$spark$connector$cql$Schema$$fetchKeyspaces$1(Schema.scala:304)	at com.datastax.spark.connector.cql.Schema$$anonfun$fromCassandra$1.apply(Schema.scala:325)	at com.datastax.spark.connector.cql.Schema$$anonfun$fromCassandra$1.apply(Schema.scala:322)	at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$withClusterDo$1.apply(CassandraConnector.scala:122)	at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$withClusterDo$1.apply(CassandraConnector.scala:121)	at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$withSessionDo$1.apply(CassandraConnector.scala:111)	at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$withSessionDo$1.apply(CassandraConnector.scala:110)	at com.datastax.spark.connector.cql.CassandraConnector.closeResourceAfterUse(CassandraConnector.scala:140)	at com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:110)	at com.datastax.spark.connector.cql.CassandraConnector.withClusterDo(CassandraConnector.scala:121)	at com.datastax.spark.connector.cql.Schema$.fromCassandra(Schema.scala:322)	at com.datastax.spark.connector.cql.Schema$.tableFromCassandra(Schema.scala:342)	at com.datastax.spark.connector.rdd.CassandraTableRowReaderProvider$class.tableDef(CassandraTableRowReaderProvider.scala:50)	at com.datastax.spark.connector.rdd.CassandraTableScanRDD.tableDef$lzycompute(CassandraTableScanRDD.scala:60)	at com.datastax.spark.connector.rdd.CassandraTableScanRDD.tableDef(CassandraTableScanRDD.scala:60)	at com.datastax.spark.connector.rdd.CassandraTableRowReaderProvider$class.verify(CassandraTableRowReaderProvider.scala:137)	at com.datastax.spark.connector.rdd.CassandraTableScanRDD.verify(CassandraTableScanRDD.scala:60)	at com.datastax.spark.connector.rdd.CassandraTableScanRDD.getPartitions(CassandraTableScanRDD.scala:232)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:248)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:246)	at scala.Option.getOrElse(Option.scala:121)	at org.apache.spark.rdd.RDD.partitions(RDD.scala:246)	at org.apache.spark.SparkContext.runJob(SparkContext.scala:1911)	at org.apache.spark.rdd.RDD$$anonfun$foreach$1.apply(RDD.scala:875)	at org.apache.spark.rdd.RDD$$anonfun$foreach$1.apply(RDD.scala:873)	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)	at org.apache.spark.rdd.RDD.withScope(RDD.scala:358)	at org.apache.spark.rdd.RDD.foreach(RDD.scala:873)	at org.apache.spark.api.java.JavaRDDLike$class.foreach(JavaRDDLike.scala:350)	at org.apache.spark.api.java.AbstractJavaRDDLike.foreach(JavaRDDLike.scala:45)	at com.initech.myapp.cassandra.service.CassandraDataService.getMatches(CassandraDataService.java:45)	at com.initech.myapp.processunit.MySparkApp.receive(MySparkApp.java:120)	at com.initech.myapp.processunit.MySparkApp.process(MySparkApp.java:61)	at com.initech.myapp.processunit.MySparkApp.run(MySparkApp.java:144)	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:789)	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:779)	at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:769)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)	at com.initech.myapp.MySparkAppBootApp.main(MyAppProcessingUnitsApplication.java:20)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:58)	at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)