anyone got a simple spring data neo4j example?

1,603 views
Skip to first unread message

rootsical

unread,
May 16, 2013, 8:30:37 AM5/16/13
to ne...@googlegroups.com
i've looked at the cineasts and hello-worlds examples on github (https://github.com/SpringSource/spring-data-neo4j/tree/master/spring-data-neo4j-examples) but they seem too complex for me.. all i want is to be able to add a few nodes, retrieve, basic CRUD etc.. but i'm finding myself having to learn advanced junit, maven, aspectj as well as spring mvc/framework.. if anyone can help with a simple example i can get going with i would be very grateful..

Peter Neubauer

unread,
May 16, 2013, 10:32:42 AM5/16/13
to Neo4j User

Hello,
The hello world example should be very easy if you at least use a build system like maven. Spring and neo4j have some dependencies, I am think there is no easier way than this. I can do a screen cast on getting going with it using eclipse or terminal if you want?

/peter

Sent from mobile device.

On May 16, 2013 5:30 AM, "rootsical" <root...@gmail.com> wrote:
i've looked at the cineasts and hello-worlds examples on github (https://github.com/SpringSource/spring-data-neo4j/tree/master/spring-data-neo4j-examples) but they seem too complex for me.. all i want is to be able to add a few nodes, retrieve, basic CRUD etc.. but i'm finding myself having to learn advanced junit, maven, aspectj as well as spring mvc/framework.. if anyone can help with a simple example i can get going with i would be very grateful..

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

rootsical

unread,
May 16, 2013, 10:41:24 AM5/16/13
to ne...@googlegroups.com
thanks for your message. i have tried downloading the hello-worlds example from github as a zip and then adding it to my eclipse as 'existing maven project'. but it doesn't have a main method and seems to depend on tests which i don't know how to run. i have tried adding a run configuration and doing clean test as a goal as specified in the read me but it says 0 tests run.. other than that, i don't know what to try..

Peter Neubauer

unread,
May 17, 2013, 1:52:43 AM5/17/13
to Neo4j User
Hi there,
you should be executing the GalaxyServiceTest.java, see the
screenshot, which is what Eclipse looked like when I imported
everything with Maven, and closed all projects except the
hello-worlds.

Does that work?

/peter

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

The authoritative book on graph databases - http://graphdatabases.com
Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j
Screenshot_5_16_13_10_51_PM-2.png

rootsical

unread,
May 17, 2013, 2:21:41 AM5/17/13
to ne...@googlegroups.com
ok so i tried right clicking on the GalaxyServiceTests class and choosing to run as JUnit test. The test runs and returns 8 errors..

and trace is..

java.lang.IllegalStateException: Failed to load ApplicationContext
    at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308)
    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
    at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
    at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'galaxyService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.data.neo4j.examples.hellograph.WorldRepository org.springframework.data.neo4j.examples.hellograph.GalaxyService.worldRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worldRepository': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Ljavax/validation/Validator;
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
    at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:84)
    at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:1)
    at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:280)
    at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:304)
    ... 24 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.data.neo4j.examples.hellograph.WorldRepository org.springframework.data.neo4j.examples.hellograph.GalaxyService.worldRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worldRepository': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Ljavax/validation/Validator;
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:513)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:92)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
    ... 38 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worldRepository': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Ljavax/validation/Validator;
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:871)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:813)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:730)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:485)
    ... 40 more
Caused by: java.lang.NoClassDefFoundError: Ljavax/validation/Validator;
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2317)
    at java.lang.Class.getDeclaredFields(Class.java:1762)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.findResourceMetadata(CommonAnnotationBeanPostProcessor.java:324)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:285)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:830)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:493)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    ... 49 more
Caused by: java.lang.ClassNotFoundException: javax.validation.Validator
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 75 more

thanks for your help..

Peter Neubauer

unread,
May 17, 2013, 3:01:05 AM5/17/13
to Neo4j User
Hi,
it seems you don't have javax.validation.Validator in your classpath,
which is due to a transitive optional dependency in the referred
spring-data-neo4j project, see
https://github.com/SpringSource/spring-data-neo4j/blob/master/spring-data-neo4j/pom.xml#L111
and
http://stackoverflow.com/questions/2915255/maven-transitive-dependencies

If you pull this dependency in by adding

<dependency>

<groupId>javax.validation</groupId>

<artifactId>validation-api</artifactId>

<version>1.0.0.GA</version>

<optional>false</optional>

</dependency>

to https://github.com/SpringSource/spring-data-neo4j/blob/master/spring-data-neo4j-examples/hello-worlds/pom.xml#L107,
then the tests should work.

I think you should raise an issue on this in the project.


Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

The authoritative book on graph databases - http://graphdatabases.com
Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j


Screenshot_5_16_13_11_40_PM.png

rootsical

unread,
May 17, 2013, 6:39:55 AM5/17/13
to ne...@googlegroups.com
wow - after adding the dependency you mentioned into the pom.xml, i tried running the tests and they worked and a neo4j database was created!

i added an issue as you suggested here:
https://github.com/SpringSource/spring-data-neo4j/issues/108

thank you so much.. doesn't mean i understand what's going on, but hopefully this is something i can get my teeth into now.. thank you so much for your help


hello-worlds-test-resolved-thankyou.png

Peter Neubauer

unread,
May 17, 2013, 9:13:22 AM5/17/13
to Neo4j User
Cool,
glad to be able to help! Let us know how things progress.

/peter

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

The authoritative book on graph databases - http://graphdatabases.com
Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j


rootsical

unread,
May 19, 2013, 10:07:52 AM5/19/13
to ne...@googlegroups.com
just to update i found this really good example by james ward here:

http://www.jamesward.com/2012/05/14/graphs-in-the-cloud-spring-neo4j-on-heroku
https://github.com/jamesward/hello-java-spring-neo4j

i am so happy.

i changed it to run locally on jetty and removed all the heroku stuff i could find..
i added this bit to my pom to run with jetty:

<build>
       
<plugins>
           
<plugin>
               
<groupId>org.mortbay.jetty</groupId>
               
<artifactId>jetty-maven-plugin</artifactId>
               
<version>${jetty.version}</version>
               
<configuration>
                   
<scanIntervalSeconds>10</scanIntervalSeconds>
                   
<source>1.7</source>
                   
<target>1.7</target>
               
</configuration>
           
</plugin>
       
</plugins>
   
</build>

and added jetty:run as my goal in the eclipse run configuration (Maven build). i hope it helps someone and thanks to everyone helping me and to james ward for the great example
(i didn't know, for example, that you could just use a repository class and dispose of the need for a service class, if you are just doing simple queries!)

Peter Neubauer

unread,
May 19, 2013, 10:47:28 AM5/19/13
to Neo4j User
Nice!
Do you have a link to your forked repo? A minimal HelloWorld is
supernice to have for new users!

/peter

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

The authoritative book on graph databases - http://graphdatabases.com
Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j


rootsical

unread,
May 19, 2013, 12:03:47 PM5/19/13
to ne...@googlegroups.com
yes, i want to do that.. once this day of football is over i will look into it. but i need to learn eGit and the github etiquette for forking etc.. first!

Peter Neubauer

unread,
May 19, 2013, 12:05:06 PM5/19/13
to Neo4j User
Hi there,
I think it can be quite easy, see https://help.github.com/articles/set-up-git :)

/peter

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

The authoritative book on graph databases - http://graphdatabases.com
Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j


Michael Hunger

unread,
May 19, 2013, 5:31:46 PM5/19/13
to ne...@googlegroups.com
I'll add it here: http://www.neo4j.org/develop/spring

Michael

rootsical

unread,
May 22, 2013, 3:14:45 PM5/22/13
to ne...@googlegroups.com
@Peter Neubauer

i tried to do a github repository of the project mentioned above so it works for me locally on jetty.. i didn't know how to fork it..

https://github.com/rootsical/hello-java-spring-neo4j

Peter Neubauer

unread,
Jun 7, 2013, 8:11:47 AM6/7/13
to Neo4j User
Cool!
I just verified also that the HelloWorld examples can be set up with IntelliJ, that's another plus ...

/peter


Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer


Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j

Stan Love

unread,
Feb 17, 2014, 7:10:41 PM2/17/14
to ne...@googlegroups.com
Hi Peter,  
I tried to mvn install in STS for this hello world example.  I get the following error:  any thought?

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springframework.data.examples:spring-data-neo4j-hello-worlds:jar:2.2.0.BUILD-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 183, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Spring Data Neo4j hello-worlds 2.2.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default) @ spring-data-neo4j-hello-worlds ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to C:\Users\A27L4PT\Projects\hello-worlds\target/classes/spring
[INFO] 
[INFO] --- aspectj-maven-plugin:1.2:compile (default) @ spring-data-neo4j-hello-worlds ---
[WARNING] bad version number found in C:\Users\A27L4PT\.m2\repository\org\aspectj\aspectjrt\1.7.1\aspectjrt-1.7.1.jar expected 1.6.12 found 1.7.1
[ERROR] can't override org.springframework.data.neo4j.aspects.core.NodeBacked org.springframework.data.neo4j.aspects.core.NodeBacked.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] can't override org.springframework.data.neo4j.aspects.core.NodeBacked org.springframework.data.neo4j.aspects.core.NodeBacked.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] can't override java.lang.Iterable org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) with java.lang.Iterable<org.springframework.data.neo4j.core.EntityPath<S,E>> org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) return types don't match
[ERROR] can't override java.lang.Iterable org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) with java.lang.Iterable<org.springframework.data.neo4j.core.EntityPath<S,E>> org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Relationship org.springframework.data.neo4j.aspects.core.RelationshipBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Relationship org.springframework.data.neo4j.aspects.core.RelationshipBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Relationship org.springframework.data.neo4j.aspects.core.RelationshipBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Relationship org.springframework.data.neo4j.aspects.core.RelationshipBacked.getPersistentState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Relationship> org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Relationship> org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Relationship> org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Relationship> org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.aspects.core.RelationshipBacked org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() with T org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() return types don't match
[ERROR] can't override org.springframework.data.neo4j.aspects.core.RelationshipBacked org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() with T org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() return types don't match
[ERROR] can't override org.springframework.data.neo4j.aspects.core.NodeBacked org.springframework.data.neo4j.aspects.core.NodeBacked.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] can't override org.springframework.data.neo4j.aspects.core.NodeBacked org.springframework.data.neo4j.aspects.core.NodeBacked.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] can't override java.lang.Iterable org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) with java.lang.Iterable<org.springframework.data.neo4j.core.EntityPath<S,E>> org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) return types don't match
[ERROR] can't override java.lang.Iterable org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) with java.lang.Iterable<org.springframework.data.neo4j.core.EntityPath<S,E>> org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) return types don't match
[ERROR] The type org.springframework.data.neo4j.examples.hellograph.World must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.getRelationshipTo(Lorg/springframework/data/neo4j/aspects/core/NodeBacked;Ljava/lang/Class;Ljava/lang/String;)
[ERROR] The type org.springframework.data.neo4j.examples.hellograph.World must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.projectTo(Ljava/lang/Class;)
[ERROR] The type org.springframework.data.neo4j.examples.hellograph.World must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.relateTo(Lorg/springframework/data/neo4j/aspects/core/NodeBacked;Ljava/lang/Class;Ljava/lang/String;)
[ERROR] The type org.springframework.data.neo4j.examples.hellograph.World must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.relateTo(Lorg/springframework/data/neo4j/aspects/core/NodeBacked;Ljava/lang/Class;Ljava/lang/String;Z)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:41.334s
[INFO] Finished at: Mon Feb 17 19:19:46 EST 2014
[INFO] Final Memory: 8M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on project spring-data-neo4j-hello-worlds: Compiler errors :
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:132::0 can't override org.springframework.data.neo4j.aspects.core.NodeBacked org.springframework.data.neo4j.aspects.core.NodeBacked.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\NodeBacked.java::0 can't override org.springframework.data.neo4j.aspects.core.NodeBacked org.springframework.data.neo4j.aspects.core.NodeBacked.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:132::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:143::0 can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\GraphBacked.java:40::1561 can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:143::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:147::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\NodeBacked.java::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:147::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:200::0 can't override java.lang.Iterable org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) with java.lang.Iterable<org.springframework.data.neo4j.core.EntityPath<S,E>> org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\NodeBacked.java::0 can't override java.lang.Iterable org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) with java.lang.Iterable<org.springframework.data.neo4j.core.EntityPath<S,E>> org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\relationship\Neo4jRelationshipBacking.aj:115::0 can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Relationship org.springframework.data.neo4j.aspects.core.RelationshipBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\GraphBacked.java:40::1561 can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Relationship org.springframework.data.neo4j.aspects.core.RelationshipBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\relationship\Neo4jRelationshipBacking.aj:115::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Relationship org.springframework.data.neo4j.aspects.core.RelationshipBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Relationship org.springframework.data.neo4j.aspects.core.RelationshipBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\relationship\Neo4jRelationshipBacking.aj:129::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Relationship> org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\RelationshipBacked.java::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Relationship> org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\relationship\Neo4jRelationshipBacking.aj:129::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Relationship> org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Relationship> org.springframework.data.neo4j.aspects.core.RelationshipBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\relationship\Neo4jRelationshipBacking.aj:155::0 can't override org.springframework.data.neo4j.aspects.core.RelationshipBacked org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() with T org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\RelationshipBacked.java::0 can't override org.springframework.data.neo4j.aspects.core.RelationshipBacked org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() with T org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\relationship\Neo4jRelationshipBacking.aj:155::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.RelationshipBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:132::0 can't override org.springframework.data.neo4j.aspects.core.NodeBacked org.springframework.data.neo4j.aspects.core.NodeBacked.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\NodeBacked.java::0 can't override org.springframework.data.neo4j.aspects.core.NodeBacked org.springframework.data.neo4j.aspects.core.NodeBacked.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:132::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.persist() with T org.springframework.data.neo4j.aspects.core.NodeBacked.persist() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:143::0 can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\GraphBacked.java:40::1561 can't override java.lang.Object org.springframework.data.neo4j.aspects.core.GraphBacked.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:143::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override java.lang.Object org.springframework.data.neo4j.mapping.ManagedEntity.getPersistentState() with org.neo4j.graphdb.Node org.springframework.data.neo4j.aspects.core.NodeBacked.getPersistentState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:147::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\NodeBacked.java::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:147::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\mapping\ManagedEntity.java::0 can't override org.springframework.data.neo4j.core.EntityState org.springframework.data.neo4j.mapping.ManagedEntity.getEntityState() with org.springframework.data.neo4j.core.EntityState<org.neo4j.graphdb.Node> org.springframework.data.neo4j.aspects.core.NodeBacked.getEntityState() return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:200::0 can't override java.lang.Iterable org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) with java.lang.Iterable<org.springframework.data.neo4j.core.EntityPath<S,E>> org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) return types don't match
[ERROR] error at org\springframework\data\neo4j\aspects\core\NodeBacked.java::0 can't override java.lang.Iterable org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) with java.lang.Iterable<org.springframework.data.neo4j.core.EntityPath<S,E>> org.springframework.data.neo4j.aspects.core.NodeBacked.findAllPathsByTraversal(org.neo4j.graphdb.traversal.TraversalDescription) return types don't match
[ERROR] error at public class World {
[ERROR] ^^^^
[ERROR] C:\Users\A27L4PT\Projects\hello-worlds\src\main\java\org\springframework\data\neo4j\examples\hellograph\World.java:12:0::0 The type org.springframework.data.neo4j.examples.hellograph.World must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.getRelationshipTo(Lorg/springframework/data/neo4j/aspects/core/NodeBacked;Ljava/lang/Class;Ljava/lang/String;)
[ERROR] see also: org\springframework\data\neo4j\aspects\core\NodeBacked.java::0
[ERROR] see also: org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:66::0
[ERROR] error at public class World {
[ERROR] ^^^^
[ERROR] C:\Users\A27L4PT\Projects\hello-worlds\src\main\java\org\springframework\data\neo4j\examples\hellograph\World.java:12:0::0 The type org.springframework.data.neo4j.examples.hellograph.World must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.projectTo(Ljava/lang/Class;)
[ERROR] see also: org\springframework\data\neo4j\aspects\core\NodeBacked.java::0
[ERROR] see also: org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:66::0
[ERROR] error at public class World {
[ERROR] ^^^^
[ERROR] C:\Users\A27L4PT\Projects\hello-worlds\src\main\java\org\springframework\data\neo4j\examples\hellograph\World.java:12:0::0 The type org.springframework.data.neo4j.examples.hellograph.World must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.relateTo(Lorg/springframework/data/neo4j/aspects/core/NodeBacked;Ljava/lang/Class;Ljava/lang/String;)
[ERROR] see also: org\springframework\data\neo4j\aspects\core\NodeBacked.java::0
[ERROR] see also: org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:66::0
[ERROR] error at public class World {
[ERROR] ^^^^
[ERROR] C:\Users\A27L4PT\Projects\hello-worlds\src\main\java\org\springframework\data\neo4j\examples\hellograph\World.java:12:0::0 The type org.springframework.data.neo4j.examples.hellograph.World must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.relateTo(Lorg/springframework/data/neo4j/aspects/core/NodeBacked;Ljava/lang/Class;Ljava/lang/String;Z)
[ERROR] see also: org\springframework\data\neo4j\aspects\core\NodeBacked.java::0
[ERROR] see also: org\springframework\data\neo4j\aspects\support\node\Neo4jNodeBacking.aj:66::0
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:


Thanks
Stan
Reply all
Reply to author
Forward
0 new messages