Here are the dependencies:
Code:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-mongodb</artifactId>
<version>1.1.1.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.3.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>4.1.10.Final</version>
</dependency>
Code:
java.lang.NoSuchMethodError: org.springframework.data.mapping.model.PersistentEntityParameterValueProvider.setSpELEvaluator(Lorg/springframework/data/mapping/model/SpELExpressionEvaluator;)V
at org.springframework.data.mongodb.core.convert.MappingMongoConverter.getParameterProvider(MappingMongoConverter.java:218) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:227) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:209) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:173) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:169) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:72) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.MongoTemplate$ReadDbObjectCallback.doWith(MongoTemplate.java:1820) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.MongoTemplate.executeFindOneInternal(MongoTemplate.java:1503) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.MongoTemplate.doFindOne(MongoTemplate.java:1309) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.MongoTemplate.findById(MongoTemplate.java:516) [spring-data-mongodb-1.1.1.RELEASE.jar:]
at org.springframework.data.mongodb.core.MongoTemplate.findById(MongoTemplate.java:509) [spring-data-mongodb-1.1.1.RELEASE.jar:]