Mike, Thanks, I finally fixed this problem. Instead of trying to manage the dependencies manually, I took the pom file from the imdb data graph project, replaced the aspectj version in the pom to "1.6.12.M1", then dropped the pom into a new STS project, then refreshed all maven dependencies. No more compiler issues
Thanks Raffi -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Hunger Sent: Sunday, August 14, 2011 4:59 AM To: Neo4j user discussions Subject: Re: [Neo4j] Defining relationships declaritavely or with annotations Have you enabled AspectJ support for your project? You should have the aspectj plugin installed and your project should show an "AJ" symbol on its icon. AspectJ will introduce this and other methods and functionality on classes annotated with @NodeEntity. Please look here for details: http://static.springsource.org/spring-data/data-graph/snapshot-site/referenc e/html/#reference:aspectj Please report back if it doesn't solve your problems. Thanks Michael Am 14.08.2011 um 00:55 schrieb etc1: > Mike, > > Using Spring Data Graph, when defining a node entity using annotations... > > @NodeEntity > public class User... > > ... the following code not work compile....Eclipse complains that the > persist() method is not defined for class User, which is true, but in > the imdb sample project it's coded the same way for Actor, Movie, etc. > What am I missing? > > ..new User(...).persist(); > > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Michael Hunger > Sent: Monday, August 08, 2011 8:59 PM > To: Neo4j user discussions > Subject: Re: [Neo4j] Defining relationships declaritavely or with > annotations > > What does make you think it not being very mature? As one of the > project leads I'm very interested in your thorough evaluation. > > There are other libraries that follow a similar approach (annotation > based mapping), like jo4neo. > > Neo4j itself is about the core-database, higher level bindings or > drivers are provided mostly by the community. > > Michael > > Am 09.08.2011 um 02:44 schrieb etc1: > >> Hi Michael, >> >> I saw that, but it does not look very mature. Does neo4j offer any >> other options aside from doing it in the code? XML config, etc, >> anything but hardcoding programmatically. >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Michael Hunger >> Sent: Monday, August 08, 2011 8:41 PM >> To: Neo4j user discussions >> Subject: Re: [Neo4j] Defining relationships declaritavely or with >> annotations >> >> You might look into Spring Data Graph for a declarative object graph >> mapping. >> >> See: >> >> http://springsource.org/spring-data/neo4j >> http://bit.ly/sdg-html >> >> Cheers >> >> Michael >> >> Am 09.08.2011 um 02:34 schrieb etc1: >> >>> Hi, >>> >>> Is it possible to define relationships using declarative >>> configuration or annotations? The Getting Started guide illustrates >>> how to do it programmatically, but I prefer to keep relationship >>> mappings outside of the code, it will be easier to maintain. >>> >>> Thanks >>> >>> _______________________________________________ >>> Neo4j mailing list >>> [email protected] >>> https://lists.neo4j.org/mailman/listinfo/user >> >> _______________________________________________ >> Neo4j mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user >> >> _______________________________________________ >> Neo4j mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

