Details

Description

Compile error on spring-data-neo4j-hello-worlds example.

I see "Type mismatch: cannot convert from Class<World> to Class<? extends
NodeBacked>" error on the line below, on both mac and windows using the latest version of eclipse. The test cases run fine though. Don't know if I need to do something on eclipse.

Michael Hunger
added a comment - 31/Jan/11 9:08 AM The first issue is just an UI issue of the aspectj plugin which has issues with introduced interfaces.
Sorry for that.
I'll look into the second one after we published the spring-data milestone 2 today.
Thanks
Michael

Files with aj extension does not exist on the target folder or the inside the target/spring-data-neo4j-hello-worlds-1.0-SNAPSHOT.jar file. I used mvn clean package to generate the jar file for hello-world project.

sura
added a comment - 21/Mar/11 10:42 AM I added the * / .aj to the java build path, but seeing the same problem. I have attached the image http://i.imgur.com/R6xnb.png
Files with aj extension does not exist on the target folder or the inside the target/spring-data-neo4j-hello-worlds-1.0-SNAPSHOT.jar file. I used mvn clean package to generate the jar file for hello-world project.
Thanks

sura
added a comment - 23/Mar/11 6:58 AM I get the warning
[WARNING] advice defined in org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect has not been applied [Xlint:adviceDidNotMatch]
even when I compile the project with maven 2.2
Thanks.

I thought you had problems building the spring-data-graph project and that's when you need to modify the included path. Sorry for the confusion. I had no trouble importing the hello-world example as an existing Maven project. How old is your check-out - could you try with a recent check-out of the examples?

I also see a bunch of warnings for aspects that aren't applied - that's not a problem and you can ignore those.

Thomas Risberg
added a comment - 23/Mar/11 7:20 AM I thought you had problems building the spring-data-graph project and that's when you need to modify the included path. Sorry for the confusion. I had no trouble importing the hello-world example as an existing Maven project. How old is your check-out - could you try with a recent check-out of the examples?
I also see a bunch of warnings for aspects that aren't applied - that's not a problem and you can ignore those.
-Thomas