Home  >  Forum  >  Spring
Post New Query

Spring: Exception: EnableSpringDataWebSupport not found

Asked on December 13, 2014
Hi, I have started to learn Redis with Spring. I have created my sample application. There is no compile time error but when I run it, Got below error.
Which Jar should I add to resolve it?

java.lang.ClassNotFoundException: org.springframework.data.web.config.EnableSpringDataWebSupport
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_45]
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_45]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_45]
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_45]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_45]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[na:1.7.0_45]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_45]

Replied on December 13, 2014
You need to add JAR Spring-data-commons as below


Replied on December 14, 2014
Thanks, It worked.

Write Answer

©2022 concretepage.com | Privacy Policy | Contact Us