Results 1 to 4 of 4

Thread: Unable to locate Spring NamespaceHandler for spring-jpa.xsd

  1. #1

    Default Unable to locate Spring NamespaceHandler for spring-jpa.xsd

    I am running Spring Data JPA with Helios and Tomcat and I am getting an error message when trying to run the tomcat server from within Helios:

    org.springframework.beans.factory.parsing.BeanDefi nitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/data/jpa]
    Offending resource: ServletContext resource [/WEB-INF/spring/repositories.xml]


    I have the spring-data-jpa-1.0.0.M1.jar, spring-data-common-core-1.0.0.M2.jar and spring-data-commons-apsects-1.0.0..M2.jar all in the dir .metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyApp/WEB-INF/lib

    This was working last week so I am unclear as to what has changed and why it does not work now.

    Thanks

  2. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Default

    Hello

    1) Use code tags
    2) I am confused

    Code:
    I have the spring-data-jpa-1.0.0.M1.jar, 
    spring-data-common-core-1.0.0.M2.jar and 
    spring-data-commons-apsects-1.0.0..M2.jar all in the dir
     .metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyApp/WEB-INF/lib 
    Are you working with Maven?, if not OK, you jars files should be located within the lib directory, wondered why you have the red path, I think is wrong

    Did realize yourself such path is a temporal (tmp0)
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  3. #3
    Join Date
    Apr 2011
    Posts
    107

    Default

    wtp work with the 'red' path, so it's ok

    Have you tried to update the spring-data-jpa version to 1.0.0.M2 ?

  4. #4

    Default

    I was pointing out how in Eclipse with Tomcat the needed jars are present in the working directory for the project. The problem has been resolved for now though the means of resolution is a little unclear.

    Thanks

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
  •