This issue is resolved now. I realized that when spring-data-mongodb version 1.4 jar was downloaded by maven, there was another jar downloaded in my repository: spring-data-commons version 1.7.
I copied this second jar to my WEB-INF/lib folder, and the application started working.