namespace handler for for neo4j spring data error

Hello this error i've been getting when i try to run a main test on my neo4j spring data project

Unexpected exception parsing XML document from class path resource [neo4j.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.springframework.data.neo4j.config.Neo4jNamespaceHandler] for namespace [http://www.springframework.org/schema/data/neo4j]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/repository/config/RepositoryConfigurationExtension

thank you for your help i really appreaciate it


Neo4j 2.0 is not yet supported in Spring Data Neo4j. I'd suggest you use 1.9 or abandon SDN for now. You're also better of using Spring 3. This is the combination I'm currently working with:

  • org.neo4j:neo4j:jar:1.9 (use this version for neo4j-server as well)
  • org.springframework.data:spring-data-neo4j:jar:2.2.1.RELEASE
  • org.springframework.data:spring-data-commons:jar:1.5.1.RELEASE
  • org.springframework:spring-core:jar:3.2.1.RELEASE
  • 链接地址: http://www.djcxy.com/p/68768.html

    上一篇: Spring MVC无法在Linux上运行(CentOS)

    下一篇: 用于neo4j弹簧数据错误的命名空间处理程序