Hi, How did you import the project? (STS 2.8 has imho some issues with the m2e plugin)
You might try to use the 2.0.0-SNAPSHOT of SDN, we are aiming to release the RC1 later today. 1) make sure that the project has the Aspectj nature switched on, it should show in the context-menu of the project and also a little AJ on the project icon 2) please have a look in your Project-Property AspectJ -> Aspect-Path if both (spring-aspects and spring-data-neo4j-aspects) are listed there. 3) issue a clean of the project Please report back if those things didn't help Sorry for the inconvenience Michael Am 10.11.2011 um 20:13 schrieb Gr3y: > Hello > > I'm having trouble getting STS to acknowledge that the method persist() on > an nodeentity is valid. > I'm using STS 2.8 which to my knowledge has the newest AJDT plugin. > > I don't know much about Neo4j yet, and I'm also a beginner with Spring, so > maybe I forgot something. > > My project is controlled by maven, and is setup like so: > > Dependency: > <dependency> > <groupId>org.springframework.data</groupId> > <artifactId>spring-data-neo4j</artifactId> > <version>2.0.0.M1</version> > </dependency> > > Plugin: > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>aspectj-maven-plugin</artifactId> > <version>1.4</version> > <configuration> > <outxml>true</outxml> > <aspectLibraries> > <aspectLibrary> > <groupId>org.springframework</groupId> > <artifactId>spring-aspects</artifactId> > </aspectLibrary> > <aspectLibrary> > <groupId>org.springframework.data</groupId> > <artifactId>spring-data-neo4j</artifactId> > </aspectLibrary> > </aspectLibraries> > <source>1.6</source> > <target>1.6</target> > </configuration> > <executions> > <execution> > <goals> > <goal>compile</goal> > <goal>test-compile</goal> > </goals> > </execution> > </executions> > <dependencies> > <dependency> > <groupId>org.aspectj</groupId> > <artifactId>aspectjrt</artifactId> > <version>1.6.12.M1</version> > </dependency> > <dependency> > <groupId>org.aspectj</groupId> > <artifactId>aspectjtools</artifactId> > <version>1.6.12.M1</version> > </dependency> > </dependencies> > </plugin> > > My entities are of course flagged with @NodeEntity > > Can anyone help me out? > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3497682.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user