I'm getting the above exception when I try to create an instance of RedisURI using the following scala code.
import com.lambdaworks.redis.api.async.RedisAsyncCommands
import com.lambdaworks.redis.RedisAsyncCommandsImpl
import com.lambdaworks.redis.RedisClient
import com.lambdaworks.redis.RedisURI
import com.lambdaworks.redis.api.StatefulRedisConnection
import com.lambdaworks.redis.cluster.RedisClusterClient
import com.lambdaworks.redis.cluster.api.StatefulRedisClusterConnection
import com.lambdaworks.redis.cluster.api.sync.RedisAdvancedClusterCommands
<< snip >>
var redisUri:RedisURI = new RedisURI()
Dependencies are configured as below in build.sbt
lazy val redisDependency = Seq(
"biz.paluch.redis" % "lettuce" % "4.5.0.Final" % "provided",
"com.google.guava" % "guava" % "18.0",
"com.typesafe" % "config" % "1.3.1"
)
Tried using 4.3.0.Final for lettuce dependency. Got the same exception. Where can we find the correct lettuce version for using the RedisURI and other classes? Please help.
Thanks
Sampath