According to github links concerning each jar, it should be the case, 
that's why I ask the question.

On Sunday, January 26, 2014 1:43:22 PM UTC+1, Michael Azerhad wrote:
>
> Hi,
>
> I want to use the neo4j server version 2.0.
>
> The jars I combine (using SBT) are the following:
>
> "org.neo4j" % "neo4j" % "2.0.0" excludeAll ExclusionRule(organization = 
> "org.neo4j", name = "neo4j-kernel"),
> "org.neo4j" % "neo4j-kernel" % "2.0.0" % "test",
> "org.springframework.data" % "spring-data-neo4j" % 
> "3.0.0.BUILD-SNAPSHOT"excludeAll
> (
>       ExclusionRule(organization = "com.sun.jdmk"),
>       ExclusionRule(organization = "com.sun.jmx"),
>       ExclusionRule(organization = "javax.jms")
>       ),
> "org.springframework.data" % "spring-data-neo4j-rest" % 
> "3.0.0.BUILD-SNAPSHOT" excludeAll ExclusionRule(organization = "org.neo4j"
> ),
> "org.springframework.data" % "spring-data-neo4j" % "3.0.0.BUILD-SNAPSHOT"
>
>
>
> My graphDatabaseService is configured as this:
>
> <neo4j:config graphDatabaseService="graphDatabaseService"/>
>
>
>     <bean id="graphDatabaseService" class=
> "org.springframework.data.neo4j.rest.SpringRestGraphDatabase">
>         <constructor-arg value="http://localhost:7474/db/data/"/>
>     </bean>
>
> However, I got this at runtime:
>
> BeanCreationException: Error creating bean with name 
> 'org.springframework.data.neo4j.config.Neo4jConfiguration#0': Cannot 
> resolve reference to bean 'graphDatabaseService' while setting bean 
> property 'graphDatabaseService'; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'graphDatabaseService' defined in class path resource 
> [dev.application-context.xml]: Instantiation of bean failed; nested 
> exception is org.springframework.beans.BeanInstantiationException: Could 
> not instantiate bean class 
> [org.springframework.data.neo4j.rest.SpringRestGraphDatabase]: Constructor 
> threw exception; nested exception is java.lang.NoClassDefFoundError: 
> com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate
>
> I wonder if each of my used jars are targeted to Neo4j 2.0 release.
>
> Thanks a lot,
>
> Michael
>

-- 
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/groups/opt_out.

Reply via email to