Home  >  Forum  >  Spring
Post New Query

Spring: Exception: EnableSpringDataWebSupport not found


joined on
March 27,2014
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]


joined on
November 18,2013
Replied on December 13,2014

You need to add JAR Spring-data-commons as below

org.springframework.data:spring-data-commons:1.9.1.RELEASE
joined on
March 27,2014
Replied on December 14,2014

Thanks, It worked.

Write Answer









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