I am facing an issue when defining mongo repository in application-context.xml
Following is the error i get in xml
Error occured process
Make sure you don't accidentally pull in an older Spring version (something before 3.2.5) into the classpath. The older methods don't have the method listed in the exception public. This is then causing the exception. I recommend to use the following Maven config snippet to enforce all Spring libraries to be in 4.0.2:
org.springframework
spring-framework-bom
4.0.2.RELEASE
pom
import