Results 1 to 3 of 3

Thread: NamespaceHandler problem with spring-data-neo4j

  1. #1
    Join Date
    Jul 2011
    Location
    Denmark
    Posts
    31

    Default NamespaceHandler problem with spring-data-neo4j

    Not sure if I should post this here or in the Neo4j forum.

    I get this error with both spring-data-neo4j 1.1 and 2.0-snapshot when running via tc server:

    ERROR org.springframework.web.context.ContextLoader - Context initialization failed
    org.springframework.beans.factory.parsing.BeanDefi nitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/data/graph]

    I have no idea what this means.

    POM dep:
    <dependency>
    <groupId>org.springframework.data</groupId>
    <artifactId>spring-data-neo4j</artifactId>
    <version>2.0.0.BUILD-SNAPSHOT</version>
    </dependency>

    <dependency>
    <groupId>org.neo4j</groupId>
    <artifactId>neo4j</artifactId>
    <version>1.5.M02</version>
    </dependency>

    Bean namespace is setup like is mentioned here in example 2.3:
    http://static.springsource.org/sprin...tutorial_setup

    Any known dependency conflicts?
    Its only a warning in the appcontext.xml file, but turns into an error when run.

  2. #2
    Join Date
    Jan 2011
    Location
    Dresden, Germany
    Posts
    525

    Default

    SDN 2.0 got a new namespace which is called:

    http://www.springframework.org/schema/data/neo4j

    Did you get the http://www.springframework.org/schema/data/graph namespace from some example/docs that we forgot to update?
    If so please let us know.

    Thanks

    Michael

  3. #3
    Join Date
    Jun 2011
    Posts
    3

    Default

    Quote Originally Posted by MichaelHunger View Post
    Did you get the http://www.springframework.org/schema/data/graph namespace from some example/docs that we forgot to update?
    If so please let us know.
    You mean like the section titled Spring Configuration under the main landing page for the github project?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •