I have a few of my own projects where the relateTo method is not being resolved correctly. To confirm that is was not my own project I downloaded the spring-data-neo4j-samples (git://github.com/SpringSource/spring-data-neo4j.git) and I'm having the same problem. The myrestaurants-social UserAccount node entity is one specific example. I've also tried this in both intellij and eclipse, so am I missing any maven dependencies or something? I'm sure its something simple.
Here are my mvn dependencies:
Code:<dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-neo4j</artifactId> <version>2.1.0.RC3</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.9</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>3.2.0.M1</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>3.1.2.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-neo4j</artifactId> <version>2.1.0.RC3</version> </dependency> </dependencies>


Reply With Quote