Results 1 to 1 of 1

Thread: SAXParseException when parsing applicationContext-jpa.xml

Hybrid View

  1. #1
    Join Date
    Nov 2012
    Posts
    1

    Default SAXParseException when parsing applicationContext-jpa.xml

    Hello,

    I'm having problems when trying to run a sample Spring Roo project with JPA and GWT.

    When Jetty starts up the war application I receive the following error which is caused by the applicationContext-jpa.xml configuration file:
    Code:
    Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'repositories'.
    Here is the applicationContext-jpa.xml file contents:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/data/jpa"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
      
      <repositories base-package="com.react.rrcgwt.core" />
    
    </beans:beans>
    Any ideas on how to solve this issue would be appreciated

    Regards
    Last edited by Eisdieler; Nov 9th, 2012 at 05:36 AM.

Posting Permissions

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