Home  >  Forum  >  Spring
Post New Query

Caused by: java.lang.ClassNotFoundException: com.lambdaworks.redis.AbstractRedisClient


joined on
March 27,2014
Asked on January 27,2017
I am using Redis with Spring. When I start server, error occurred as follows.

Caused by: java.lang.ClassNotFoundException: com.lambdaworks.redis.AbstractRedisClient
at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[na:1.8.0]
at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.8.0]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0]
at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[na:1.8.0]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[na:1.8.0]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0]



joined on
November 09,2013
Replied on January 28,2017

You are missing lettuce dependency. Configure it in your maven or gradle. If you are using maven then add following dependency.

<dependency>
     <groupId>biz.paluch.redis</groupId>
     <artifactId>lettuce</artifactId>
     <version>3.5.0.Final</version>
</dependency>   

If you are using spring-data-redis with version 1.7.6,  then lettuce should be  3.5.0.Final version.

Write Answer



Sitewide-Feb4of4234x60





Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us