any thoughts ? 

On Monday, November 3, 2014 2:56:08 PM UTC+5:30, Renuka Jadhav wrote:
>
> not sure how!! but somehow my neo4j-rest-graphdb-2.0.1.pom (in my M2_REPO 
> ) was having 
> <neo4j.version>1.9.2</neo4j.version> so changed it to 
>  <neo4j.version>2.0.1</neo4j.version> and run again, its getting correct 
> jars now in my lib and below is my dependency tree, still same issue. is 
> this because my Neo4J DB/lib is having neo4j-kernel-2.1.4.jar and my 
> project is referring to neo4j-kernel2.0.1.jar ? because now all jars in my 
> project are 2.0.1 as below dependency tree shows.
>
>  +- org.neo4j:neo4j-kernel:jar:2.0.1:compile
>  |  \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
>  +- org.neo4j:neo4j-rest-graphdb:jar:2.0.1:compile
>  |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.7:compile
>  |  +- org.neo4j:server-api:jar:2.0.1:compile
>  |  |  +- org.neo4j.3rdparty.javax.ws.rs:jsr311-api:jar:1.1.2.r612:compile
>  |  |  +- commons-configuration:commons-configuration:jar:1.6:compile
>  |  |  |  +- commons-collections:commons-collections:jar:3.2.1:compile
>  |  |  |  +- commons-lang:commons-lang:jar:2.4:compile
>  |  |  |  \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
>  |  |  \- commons-digester:commons-digester:jar:1.8.1:compile
>  |  |     \- commons-beanutils:commons-beanutils:jar:1.8.0:compile
>  |  \- org.neo4j:neo4j-lucene-index:jar:2.0.1:compile
>  |     \- org.apache.lucene:lucene-core:jar:3.6.2:compile
>
> Regards,
> Renuka.
>
> On Monday, November 3, 2014 2:33:18 PM UTC+5:30, Michael Hunger wrote:
>>
>> this sounds like a version conflict: org.neo4j:server-api:jar:1.9.
>> 2:compile
>>
>> this one too: org.neo4j:neo4j-lucene-index:jar:1.9.2:compile
>>
>> but in the original pom of rest-graph-db it says: <neo4j.version>2.0.1
>> </neo4j.version>
>>
>> see:
>>
>> http://m2.neo4j.org/content/repositories/releases/org/neo4j/neo4j-rest-graphdb/2.0.1/neo4j-rest-graphdb-2.0.1.pom
>>
>> On Mon, Nov 3, 2014 at 9:51 AM, Renuka Jadhav <[email protected]> 
>> wrote:
>>
>>> hi,
>>>
>>> my maven dependency tree shows : 
>>>
>>> [INFO] +- org.neo4j:neo4j-kernel:jar:2.0.1:compile
>>> [INFO] |  \- 
>>> org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
>>> [INFO] +- org.neo4j:neo4j-rest-graphdb:jar:2.0.1:compile
>>> [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.7:compile
>>> [INFO] |  +- org.neo4j:server-api:jar:1.9.2:compile
>>> [INFO] |  |  +- 
>>> org.neo4j.3rdparty.javax.ws.rs:jsr311-api:jar:1.1.2.r612:compile
>>> [INFO] |  |  +- 
>>> commons-configuration:commons-configuration:jar:1.6:compile
>>> [INFO] |  |  |  +- 
>>> commons-collections:commons-collections:jar:3.2.1:compile
>>> [INFO] |  |  |  +- commons-lang:commons-lang:jar:2.4:compile
>>> [INFO] |  |  |  \- 
>>> commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
>>> [INFO] |  |  \- commons-digester:commons-digester:jar:1.8.1:compile
>>> [INFO] |  |     \- commons-beanutils:commons-beanutils:jar:1.8.0:compile
>>> [INFO] |  \- org.neo4j:neo4j-lucene-index:jar:1.9.2:compile
>>> [INFO] |     \- org.apache.lucene:lucene-core:jar:3.6.2:compile
>>>
>>> Regards,
>>> Renuka.
>>>
>>> On Monday, November 3, 2014 2:01:39 PM UTC+5:30, Michael Hunger wrote:
>>>>
>>>> Can you check with maven dependency:tree which versions are pulled in?
>>>>
>>>> On Mon, Nov 3, 2014 at 9:26 AM, Renuka Jadhav <[email protected]> 
>>>> wrote:
>>>>
>>>>> 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]> 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].
>>>>>> 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.
>>>>>
>>>>
>>>>  -- 
>>> 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.
>>>
>>
>>

-- 
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.

Reply via email to