- writing error
81 line:
ResultSet resultSet = api.query("social", "MATCH (a:Person), (b:Person) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[:Knows]->(a)"); // guess you want to say a-knows-b
- log4j missing
run test will complain no slf4 default implementation.
I add a dependency to fix it:
<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.6.6</version> </dependency>