spring-guides/tut-data — pull request #3 by matsev (2014-01-06 17:19:24+00:00)
Title: Updated instructions in the MongoDB part of the tutorial.

The problem is that the `AnalyseIngredients` interface is added to the `MenuItemRepository` in the code samples too early, resulting in an exception when the `MenuItemRepositoryIntegrationTests` is executed (see below). Consequently, the sample code with the `AnalyseIngredients` has been added just prior to the `MenuItemRepositoryAnalyseIngredientsIntegrationTests`.

```
[...]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'menuItemRepository': FactoryBean threw exception on object creation; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property analyse found for type java.util.Map
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1442)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:871)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:813)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:730)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:485)
... 47 more
[...]
```