hi Chris, thanks for your reply. i was using neo4j-kernel-2.1.5.jar along with neo4j-rest-graphdb-2.0.1.jar but have changed the same to below in my pom, still i get the same error.
<dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-kernel</artifactId> <version>2.0.1</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-rest-graphdb</artifactId> <version>2.0.1</version> </dependency> Regards, Renuka. On Monday, November 3, 2014 1:29:52 PM UTC+5:30, Chris Vest wrote: > > When ever you get an AbstractMethodError or NoClassDefFoundError, always > check that all the Neo4j jars on your classpath are of the same version. > > -- > Chris Vest > System Engineer, Neo Technology > [ skype: mr.chrisvest, twitter: chvest ] > > > On 03 Nov 2014, at 08:11, Renuka Jadhav <[email protected] > <javascript:>> wrote: > > Hi , > > I am using Neo4j release 2.1.4 as my DB. and neo4j-rest-graphdb-2.0.1.jar > in my application to connect to Neo4j. > everything was working fine untill i wanted to use node.getLabels() method > which is throwing below exception : > *Exception in thread "main" java.lang.AbstractMethodError: > org.neo4j.rest.graphdb.entity.RestNode.getLabels()Ljava/lang/Iterable;* > > i get similar error for node.hasLabels(Label abc); > > Any idea which am i getting this error and its resolution ? > > Regards, > Renuka. > > > -- > 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 [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
