Hi,
I am trying to set a connection to Couchbase. I am at the very beginning,
and I got stuck on this exception
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/couchbase/spark/StoreMode : Unsupported major.minor version 52.0
Here is the simple code fragment
val sc = new SparkContext(cfg)
val doc1 = JsonDocument.create("doc1",
JsonObject.create().put("some", "content"))
val doc2 = JsonArrayDocument.create("doc2", JsonArray.from("more",
"content", "in", "here"))
val data = sc
.parallelize(Seq(doc1, doc2))
.saveToCouchbase()
}
Any help will be a bless
Thanks!
--
*This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are
addressed. Please note that any disclosure, copying or distribution of the
content of this information is strictly forbidden. If you have received
this email message in error, please destroy it immediately and notify its
sender.*